/* ==========================================================================
   AURUM EAST AFRICA — COMPONENTS CSS
   Preloader, Buttons, Luxury Cards, Stepper, Calculator, Modals, Lightbox
   ========================================================================== */

/* --------------------------------------------------------------------------
   Bespoke Luxury Loading Feature
   -------------------------------------------------------------------------- */
.luxury-preloader {
  position: fixed;
  inset: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #0B0D10;
  z-index: var(--z-preloader);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.65s;
  pointer-events: auto;
}

.luxury-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Hairline Gold Progress Bar at very top of screen */
.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 2.5px;
  width: 0%;
  background: var(--grad-gold-metallic);
  box-shadow: 0 0 12px rgba(227, 199, 122, 0.8);
  transition: width 0.4s ease-out;
}

.preloader-content {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  width: min(100%, 440px);
  min-width: 0;
}

.preloader-emblem {
  width: 76px;
  height: 76px;
  margin: 0 auto var(--space-6);
  position: relative;
}

.preloader-emblem svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 16px rgba(201, 162, 75, 0.4));
  animation: emblem-breathe 2.4s infinite ease-in-out;
}

@keyframes emblem-breathe {
  0%, 100% {
    transform: scale(0.96);
    filter: drop-shadow(0 0 12px rgba(201, 162, 75, 0.3));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 0 28px rgba(227, 199, 122, 0.7));
  }
}

.preloader-brand {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #F5F1E8;
  margin-bottom: var(--space-2);
  overflow-wrap: anywhere;
}

.preloader-subtext {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-6);
  overflow-wrap: anywhere;
}

.preloader-status {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}

.preloader-spinner {
  width: 12px;
  height: 12px;
  border: 1.5px solid rgba(201, 162, 75, 0.2);
  border-top-color: var(--color-gold-light);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* --------------------------------------------------------------------------
   Buttons & Interactive Action Triggers
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-family: var(--font-sans);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--trans-fast);
  white-space: nowrap;
  min-height: 44px; /* WCAG 44x44 tap target standard */
  position: relative;
  overflow: hidden;
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: var(--text-base);
  border-radius: var(--radius-md);
  min-height: 52px;
}

.btn-sm {
  padding: 0.45rem 1rem;
  font-size: var(--text-xs);
  min-height: 36px;
}

@media (max-width: 480px) {
  .btn {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
  }
}

/* Primary Button: Refined Metallic Gold with Shimmer */
.btn-primary {
  background: var(--grad-gold-metallic);
  color: #0B0D10;
  border-color: rgba(255, 235, 176, 0.4);
  box-shadow: 0 4px 18px rgba(201, 162, 75, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFF0C2 0%, #D8B25A 45%, #9E7A2A 100%);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.5);
}

/* Subtle Animated Shimmer Ray across Primary Button */
.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -120%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.38) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  transition: none;
  animation: shimmer-btn 4.5s infinite ease-in-out;
}

@keyframes shimmer-btn {
  0%, 80% { left: -120%; }
  100% { left: 160%; }
}

/* Secondary Button: Dark Luxury Surface */
.btn-secondary {
  background-color: var(--color-bg-surface-elevated);
  color: var(--color-text-primary);
  border-color: var(--color-gold-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-surface);
  border-color: var(--color-gold-light);
  color: var(--color-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Outline Button */
.btn-outline {
  background: transparent;
  color: var(--color-text-primary);
  border-color: var(--color-gold-border);
}

.btn-outline:hover {
  border-color: var(--color-gold-light);
  background-color: var(--color-gold-subtle);
  color: var(--color-gold-light);
}

/* WhatsApp Specialized Button */
.btn-whatsapp {
  background-color: #128C7E;
  color: #FFFFFF;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #25D366;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* --------------------------------------------------------------------------
   Cards, Surfaces & Glassmorphism
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: relative;
  transition: transform var(--trans-normal), box-shadow var(--trans-normal), border-color var(--trans-normal);
}

@media (min-width: 768px) {
  .card {
    padding: var(--space-8);
  }
}

.card-interactive:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-border-bright);
  box-shadow: var(--shadow-card-hover);
}

.card-glass {
  background: var(--color-bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.card-gold-accent {
  background: var(--grad-surface-card);
  border: 1px solid var(--color-gold-border);
  position: relative;
}

.card-gold-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-gold-metallic);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

/* --------------------------------------------------------------------------
   Badges & Micro-Labels
   -------------------------------------------------------------------------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.badge-gold {
  background: var(--color-gold-subtle);
  color: var(--color-gold-light);
  border: 1px solid var(--color-gold-border);
}

.badge-success {
  background: var(--color-success-bg);
  color: var(--color-success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-warning {
  background: var(--color-warning-bg);
  color: var(--color-warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* --------------------------------------------------------------------------
   Trust Strip (Sub-Hero Verification Band)
   -------------------------------------------------------------------------- */
.trust-strip {
  background: var(--color-bg-surface-subtle);
  border-block: 1px solid var(--color-gold-border);
  padding: var(--space-4) 0;
}

.trust-strip-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-4) var(--space-8);
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
}

.trust-strip-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold-light);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7-Step Transaction Process Stepper
   -------------------------------------------------------------------------- */
.stepper {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
  position: relative;
}

.step-card {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: var(--space-4);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  transition: border-color var(--trans-fast);
}

@media (min-width: 768px) {
  .step-card {
    grid-template-columns: 80px 1fr 280px;
    gap: var(--space-6);
    align-items: center;
  }
}

.step-card:hover {
  border-color: var(--color-gold-border-bright);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-gold-subtle);
  border: 1px solid var(--color-gold-primary);
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-details h4 {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  color: var(--color-text-primary);
}

.step-details p {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  margin-bottom: 0;
}

.step-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: var(--space-3);
  margin-top: var(--space-3);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

@media (min-width: 768px) {
  .step-meta {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 0;
    padding-left: var(--space-6);
    margin-top: 0;
  }
}

.step-meta strong {
  color: var(--color-gold-light);
}

/* --------------------------------------------------------------------------
   Instant Bullion Calculator Component
   -------------------------------------------------------------------------- */
.calc-wrapper {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
}

@media (min-width: 900px) {
  .calc-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-10);
    padding: var(--space-10);
  }
}

.calc-tabs {
  display: flex;
  background: var(--color-bg-base);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-sm);
  padding: var(--space-1);
  margin-bottom: var(--space-6);
}

.calc-tab {
  flex: 1;
  text-align: center;
  padding: var(--space-2) var(--space-4);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: transparent;
  color: var(--color-text-muted);
  border: none;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--trans-fast);
}

.calc-tab.active {
  background: var(--grad-gold-metallic);
  color: #0B0D10;
}

.calc-form-group {
  margin-bottom: var(--space-4);
}

.calc-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.calc-input-row {
  display: flex;
  gap: var(--space-2);
  min-width: 0;
}

.calc-input {
  flex: 1;
  min-width: 0;
  background: var(--color-bg-base);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-text-primary);
  font-size: var(--text-base);
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  outline: none;
  transition: border-color var(--trans-fast);
}

.calc-input:focus {
  border-color: var(--color-gold-light);
  box-shadow: 0 0 10px rgba(201, 162, 75, 0.25);
}

.calc-select {
  min-width: 0;
  max-width: 100%;
  background: var(--color-bg-base);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--color-text-primary);
  font-size: var(--text-sm);
  font-family: var(--font-sans);
  outline: none;
  cursor: pointer;
}

/* Calculator Output Panel */
.calc-results-card {
  background: var(--grad-surface-card);
  border: 1px solid var(--color-gold-border-bright);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-block: var(--space-3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.calc-result-row:last-child {
  border-bottom: none;
}

.calc-result-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.calc-result-value {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-primary);
}

.calc-result-total {
  padding-top: var(--space-4);
  margin-top: var(--space-4);
  border-top: 1px solid var(--color-gold-border);
}

.calc-result-total .calc-result-label {
  font-size: var(--text-sm);
  color: var(--color-gold-light);
  font-weight: 700;
  text-transform: uppercase;
}

.calc-result-total .calc-result-value {
  font-size: var(--text-2xl);
  font-family: var(--font-serif);
  color: #FFF0C2;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Product Cards & Comparison Drawer
   -------------------------------------------------------------------------- */
.product-card {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--trans-fast), box-shadow var(--trans-fast), border-color var(--trans-fast);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold-border-bright);
  box-shadow: var(--shadow-card-hover);
}

.product-thumb-container {
  height: 240px;
  background: #090B0E;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  overflow: hidden;
}

.product-thumb-container img {
  max-height: 90%;
  max-width: 90%;
  object-fit: contain;
  transition: transform var(--trans-normal);
}

.product-card:hover .product-thumb-container img {
  transform: scale(1.05);
}

.product-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.product-specs-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-bottom: var(--space-4);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.product-price-from {
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-4);
}

.price-indicative-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.price-indicative-amount {
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-gold-light);
}

/* Compare Sticky Bottom Drawer */
.compare-drawer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-bg-glass-heavy);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--color-gold-border-bright);
  padding: var(--space-4);
  z-index: var(--z-modal);
  transform: translateY(105%);
  transition: transform var(--trans-normal);
  box-shadow: 0 -15px 35px rgba(0, 0, 0, 0.7);
}

.compare-drawer.active {
  transform: translateY(0);
}

.compare-drawer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.compare-chips {
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
}

.compare-chip {
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-gold-border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  font-size: var(--text-xs);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   2-Step Quote Modal / Flow
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-gold-border-bright);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  box-shadow: var(--shadow-modal);
  position: relative;
  transform: scale(0.95);
  transition: transform var(--trans-normal);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: var(--space-6) var(--space-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  padding: var(--space-2);
}

.modal-close-btn:hover {
  color: var(--color-text-primary);
}

/* 2-Step Progress Indicators */
.quote-stepper-progress {
  display: flex;
  padding: var(--space-4) var(--space-8);
  background: var(--color-bg-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.step-indicator {
  flex: 1;
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-muted);
  position: relative;
  padding-bottom: var(--space-2);
}

.step-indicator.active {
  color: var(--color-gold-light);
}

.step-indicator.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 10%;
  width: 80%;
  height: 2px;
  background: var(--color-gold-light);
}

.modal-body {
  padding: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
}

.form-control {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  background: var(--color-bg-base);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--color-text-primary);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  outline: none;
  transition: border-color var(--trans-fast);
}

.table-responsive {
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
}

.table-responsive > table {
  min-width: 560px;
}

.form-control:focus {
  border-color: var(--color-gold-light);
  box-shadow: 0 0 12px rgba(201, 162, 75, 0.2);
}

.modal-footer {
  padding: var(--space-6) var(--space-8);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Honeypot Hidden Anti-Spam Field */
.hp-field {
  display: none !important;
  visibility: hidden !important;
}

/* --------------------------------------------------------------------------
   Legal Document Viewer / Lightbox
   -------------------------------------------------------------------------- */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(12px);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  visibility: hidden;
  transition: all var(--trans-normal);
}

.lightbox-modal.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 960px;
  height: 85vh;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-modal);
}

@media (min-width: 800px) {
  .lightbox-container {
    grid-template-columns: 1.4fr 1fr;
  }
}

.lightbox-preview-pane {
  background: #090B0F;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  overflow: auto;
}

.lightbox-preview-pane img, .lightbox-preview-pane iframe {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.lightbox-sidebar {
  padding: var(--space-8);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

@media (max-width: 480px) {
  .modal-card {
    max-height: calc(100dvh - 2rem);
  }

  .modal-header,
  .modal-body,
  .modal-footer {
    padding: var(--space-4);
  }

  .quote-stepper-progress {
    padding: var(--space-3) var(--space-4);
    gap: var(--space-2);
  }

  .step-indicator {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .form-group[style*="grid-template-columns"] {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .calc-input-row {
    flex-direction: column;
  }

  .calc-input-row .calc-input,
  .calc-input-row .calc-select {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   Accessible Accordion
   -------------------------------------------------------------------------- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-item {
  background: var(--color-bg-surface);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--trans-fast);
}

.accordion-item[open] {
  border-color: var(--color-gold-border-bright);
}

.accordion-trigger {
  padding: var(--space-5) var(--space-6);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.accordion-trigger::-webkit-details-marker {
  display: none;
}

.accordion-trigger::after {
  content: '+';
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-gold-light);
  transition: transform var(--trans-fast);
}

.accordion-item[open] .accordion-trigger::after {
  content: '−';
}

.accordion-content {
  padding: 0 var(--space-6) var(--space-6);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
}

/* --------------------------------------------------------------------------
   Toast Notification System
   -------------------------------------------------------------------------- */
.toast-container {
  position: fixed;
  top: calc(var(--space-6) + 60px);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  z-index: var(--z-toast);
  pointer-events: none;
}

.toast {
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-gold-border);
  border-left: 4px solid var(--color-gold-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-3) var(--space-5);
  box-shadow: var(--shadow-card);
  font-size: var(--text-sm);
  color: var(--color-text-primary);
  max-width: 360px;
  transform: translateX(120%);
  transition: transform var(--trans-normal);
  pointer-events: auto;
}

.toast.show {
  transform: translateX(0);
}

.toast.toast-success {
  border-left-color: var(--color-success);
}

.toast.toast-error {
  border-left-color: var(--color-error);
}

/* --------------------------------------------------------------------------
   Minimal Cookie Consent Banner
   -------------------------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: var(--space-6);
  left: var(--space-6);
  max-width: 420px;
  background: var(--color-bg-surface-elevated);
  border: 1px solid var(--color-gold-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-modal);
  z-index: var(--z-modal);
  transform: translateY(150%);
  transition: transform var(--trans-normal);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
}

.cookie-actions {
  display: flex;
  gap: var(--space-2);
}
