/* ==========================================================================
   Mallory's Way Non-Profit Design System
   Colors: Royal Blue, Crisp White, Refined Slate Grays
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Royal Blue Color Family */
  --royal-50: #eff6ff;
  --royal-100: #dbeafe;
  --royal-200: #bfdbfe;
  --royal-300: #93c5fd;
  --royal-400: #60a5fa;
  --royal-500: #3b82f6;
  --royal-600: #2563eb; /* Vibrant Royal */
  --royal-700: #1d4ed8; /* Primary Royal Blue */
  --royal-800: #1e40af; /* Deep Royal */
  --royal-900: #1e3a8a; /* Rich Navy Blue */
  --royal-950: #172554;

  /* White & Gray Color Family */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-150: #e9eef4;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;

  /* Semantic Accents */
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-red: #ef4444;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-royal: 0 12px 24px -6px rgba(29, 78, 216, 0.25);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --max-width: 1240px;
  --header-height: 82px;
}

/* Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--gray-900);
  line-height: 1.25;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Top Banner
   ========================================================================== */
.top-banner,
.hotline-banner {
  background-color: var(--royal-600);
  height: 32px;
  min-height: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 60;
}

.hotline-banner .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

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

.hotline-badge {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hotline-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: #ef4444;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
  100% { opacity: 1; transform: scale(1); }
}

.hotline-phone {
  font-weight: 700;
  color: var(--royal-200);
  letter-spacing: 0.02em;
}

.hotline-phone:hover {
  color: var(--white);
  text-decoration: underline;
}

.hotline-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.quick-exit-btn {
  background-color: #dc2626;
  color: var(--white);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.775rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color var(--transition-fast);
}

.quick-exit-btn:hover {
  background-color: #b91c1c;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.mobile-nav-backdrop,
.mobile-nav-drawer {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--gray-200);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Brand Logo */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  user-select: none;
  text-decoration: none;
  padding: 2px 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.brand-logo:hover {
  transform: translateY(-1px);
  opacity: 0.88;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  aspect-ratio: 977 / 511;
  object-fit: contain;
  display: block;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--royal-700), var(--royal-600));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.28);
}

.brand-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2.2;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--royal-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand-title span {
  color: var(--royal-600);
}

.brand-tagline {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
}

/* Nav Links */
.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--royal-700);
}

.nav-link.active {
  color: var(--royal-700);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background-color: var(--royal-700);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Navigation Dropdowns (Desktop)
   ========================================================================== */
.nav-dropdown-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-700);
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-dropdown-trigger:hover,
.nav-dropdown-wrap:hover .nav-dropdown-trigger,
.nav-dropdown-wrap.open .nav-dropdown-trigger,
.nav-dropdown-trigger.active {
  color: var(--royal-700);
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
  color: var(--gray-500);
  pointer-events: none;
}

.nav-dropdown-wrap:hover .dropdown-chevron,
.nav-dropdown-wrap.open .dropdown-chevron {
  transform: rotate(180deg);
  color: var(--royal-700);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(15, 23, 42, 0.05);
  padding: 8px;
  min-width: 270px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-fast);
  z-index: 1000;
}

.nav-dropdown-wrap:hover .nav-dropdown-menu,
.nav-dropdown-wrap.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--gray-800);
  transition: all var(--transition-fast);
}

.dropdown-item:hover {
  background: var(--royal-50);
  color: var(--royal-900);
}

.dropdown-item-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--gray-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dropdown-item:hover .dropdown-item-title {
  color: var(--royal-700);
}

.dropdown-item-desc {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 3px;
  line-height: 1.35;
}

.dropdown-item:hover .dropdown-item-desc {
  color: var(--royal-800);
}

.dropdown-item-badge {
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--royal-100);
  color: var(--royal-800);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

/* Nav Action Items */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.cart-toggle-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.cart-toggle-btn:hover {
  background: var(--royal-50);
  color: var(--royal-700);
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--royal-700);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white);
  transition: transform var(--transition-fast);
}

.header-donate-btn {
  background: linear-gradient(135deg, var(--royal-700), var(--royal-600));
  color: var(--white);
  font-weight: 700;
  font-size: 0.925rem;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.header-donate-btn:hover {
  background: linear-gradient(135deg, var(--royal-800), var(--royal-700));
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35);
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--gray-800);
  padding: 8px;
}

/* ==========================================================================
   Page Layout & View Container
   ========================================================================== */
.view-section {
  display: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.view-section.active-view {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   Hero Section (Home)
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #f0f4f9 0%, #ffffff 100%);
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background-color: var(--royal-100);
  color: var(--royal-800);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--gray-900);
  margin-bottom: 22px;
}

.hero-title .highlight {
  color: var(--royal-700);
  position: relative;
  display: inline-block;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--royal-700), var(--royal-600));
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-royal);
  transition: all var(--transition-fast);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--royal-800), var(--royal-700));
  transform: translateY(-2px);
  box-shadow: 0 16px 28px -6px rgba(29, 78, 216, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--royal-800);
  border: 1.5px solid var(--gray-300);
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--royal-500);
  background: var(--royal-50);
  color: var(--royal-700);
}

.hero-image-card,
.hero-video-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-player {
  width: 100%;
  height: 480px;
  object-fit: contain;
  background: #000000;
  display: block;
}

.hero-video-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--white);
  backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.hero-video-badge.playing {
  opacity: 0;
}

.hero-image-card img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-card:hover img {
  transform: scale(1.03);
}

.hero-floating-stat {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 16px 22px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-150);
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--royal-100);
  color: var(--royal-700);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-content .stat-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1;
}

.stat-content .stat-label {
  font-size: 0.775rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
}

/* ==========================================================================
   Mission & Vision Statement (Reference Flow)
   ========================================================================== */
.mission-section {
  padding: 80px 0;
  background-color: var(--white);
}

.mission-card {
  background: linear-gradient(135deg, var(--royal-950) 0%, var(--royal-900) 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 64px 50px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.mission-card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.25) 0%, rgba(29, 78, 216, 0) 70%);
  border-radius: 50%;
}

.mission-header-tag {
  color: var(--royal-300);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  display: block;
}

.mission-title {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
}

.mission-statement-lead {
  margin-bottom: 38px;
}

.mission-text {
  font-size: 1.25rem;
  color: var(--gray-100);
  line-height: 1.7;
  max-width: 860px;
  margin-bottom: 36px;
  font-weight: 400;
}

.mission-statement-quote {
  font-size: 1.3rem;
  color: #ffffff;
  line-height: 1.85;
  max-width: 980px;
  font-weight: 500;
  border-left: 4px solid var(--royal-400);
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  letter-spacing: -0.01em;
  margin-bottom: 0;
}

.mission-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 36px;
}

.pillar-item {
  display: flex;
  gap: 16px;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--royal-300);
  flex-shrink: 0;
}

.pillar-title {
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.5;
}

/* ==========================================================================
   Impact Statistics
   ========================================================================== */
.impact-stats-section {
  padding: 60px 0 80px;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--royal-200);
}

.stat-number-large {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--royal-700);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-title-label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--gray-800);
  margin-bottom: 6px;
}

.stat-subtext {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ==========================================================================
   Section Headers (Reusable)
   ========================================================================== */
.section-header-center {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-eyebrow {
  color: var(--royal-700);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.section-heading {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subheading {
  font-size: 1.1rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ==========================================================================
   Outreach Programs Cards (Home Preview & Outreach View)
   ========================================================================== */
.outreach-programs-section {
  padding: 90px 0;
  background-color: var(--white);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.program-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--royal-300);
}

.program-card-img {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.program-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .program-card-img img {
  transform: scale(1.05);
}

.program-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--royal-700);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.program-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.program-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.program-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.program-features-list {
  list-style: none;
  margin-bottom: 24px;
}

.program-features-list li {
  font-size: 0.875rem;
  color: var(--gray-700);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.program-features-list li svg {
  color: var(--royal-600);
  flex-shrink: 0;
}

.program-link-btn {
  color: var(--royal-700);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.program-link-btn:hover {
  color: var(--royal-900);
  gap: 10px;
}

/* ==========================================================================
   Giving Options Preview (Home)
   ========================================================================== */
.giving-preview-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.giving-options-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.giving-option-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 36px 30px;
  text-align: center;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.giving-option-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--royal-400);
}

.giving-option-icon {
  width: 68px;
  height: 68px;
  background: var(--royal-50);
  color: var(--royal-700);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.giving-option-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.giving-option-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ==========================================================================
   Featured Merch Showcase (Home)
   ========================================================================== */
.featured-merch-section {
  padding: 90px 0;
  background-color: var(--white);
}

.merch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.merch-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.merch-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--royal-300);
}

.merch-card-image {
  position: relative;
  height: 260px;
  background: var(--gray-50);
  overflow: hidden;
}

.merch-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.merch-card:hover .merch-card-image img {
  transform: scale(1.06);
}

.merch-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.merch-badge.royal {
  background: var(--royal-700);
}

.merch-details {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.merch-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--royal-600);
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.merch-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 8px;
}

.merch-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
}

.merch-price {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
}

.add-to-cart-btn {
  background: var(--royal-700);
  color: var(--white);
  border: none;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background var(--transition-fast);
}

.add-to-cart-btn:hover {
  background: var(--royal-800);
}

/* ==========================================================================
   Upcoming Events Preview (Home & Events View)
   ========================================================================== */
.events-section {
  padding: 90px 0;
  background-color: var(--gray-50);
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.event-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  align-items: center;
  gap: 28px;
  transition: all var(--transition-base);
}

.event-card:hover {
  border-color: var(--royal-400);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.event-date-box {
  width: 80px;
  height: 80px;
  background: var(--royal-50);
  border: 2px solid var(--royal-200);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-month {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--royal-700);
  letter-spacing: 0.05em;
}

.event-day {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--royal-900);
  line-height: 1;
}

.event-info {
  flex: 1;
}

.event-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.event-meta {
  display: flex;
  gap: 18px;
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.event-desc {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.event-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   Voices of Hope (Testimonial / Story)
   ========================================================================== */
.stories-section {
  padding: 90px 0;
  background-color: var(--white);
}

.story-card-large {
  background: linear-gradient(135deg, var(--gray-100) 0%, var(--royal-50) 100%);
  border: 1px solid var(--royal-100);
  border-radius: var(--radius-xl);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.story-quote-icon {
  color: var(--royal-600);
  margin-bottom: 20px;
}

.story-text {
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--gray-800);
  font-style: italic;
  margin-bottom: 24px;
}

.story-author {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--royal-900);
}

.story-author-tag {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ==========================================================================
   DONATION VIEW (Dedicated Giving Page)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--royal-900) 0%, var(--royal-950) 100%);
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero-title {
  color: var(--white);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 1.2rem;
  color: var(--royal-200);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Waymaker Feature Showcase & Branding */
.waymaker-showcase-card {
  margin-top: 48px;
  background: var(--white);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  box-shadow: 0 14px 38px -10px rgba(30, 58, 138, 0.09);
  position: relative;
  overflow: hidden;
}

.waymaker-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--royal-600), var(--royal-800), #f59e0b);
}

.waymaker-showcase-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
}

.waymaker-showcase-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  background: linear-gradient(135deg, var(--royal-50) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: var(--radius-lg);
}

.waymaker-logo-img {
  width: 100%;
  max-width: 270px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.08));
}

.waymaker-visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  background: var(--white);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--royal-900);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.waymaker-showcase-content {
  display: flex;
  flex-direction: column;
}

.waymaker-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--royal-950);
  margin-bottom: 16px;
  line-height: 1.25;
}

.waymaker-lead {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--royal-900);
  line-height: 1.6;
  margin-bottom: 14px;
}

.waymaker-paragraph {
  font-size: 1.02rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 14px;
}

.waymaker-quote-banner {
  margin-top: 8px;
  padding: 16px 22px;
  background: var(--royal-50);
  border-left: 4px solid var(--royal-600);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.waymaker-quote-text {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--royal-950);
  margin: 0;
  font-style: italic;
  letter-spacing: -0.01em;
}

@media (max-width: 980px) {
  .waymaker-showcase-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .waymaker-showcase-card {
    padding: 32px 24px;
    margin-top: 36px;
  }
  .waymaker-logo-img {
    max-width: 220px;
  }
}

@media (max-width: 640px) {
  .waymaker-showcase-card {
    padding: 24px 18px;
  }
  .waymaker-title {
    font-size: 1.55rem;
  }
  .waymaker-lead {
    font-size: 1.05rem;
  }
  .waymaker-quote-text {
    font-size: 1.02rem;
  }
}

.donation-page-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  padding: 36px 0 90px;
}

.donation-form-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.frequency-switch {
  display: flex;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 30px;
}

.frequency-btn {
  flex: 1;
  padding: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-600);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.frequency-btn.active {
  background: var(--royal-700);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.amount-btn {
  padding: 16px 12px;
  border: 2px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-800);
  transition: all var(--transition-fast);
}

.amount-btn:hover {
  border-color: var(--royal-400);
  background: var(--royal-50);
}

.amount-btn.active {
  border-color: var(--royal-700);
  background: var(--royal-50);
  color: var(--royal-700);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.custom-amount-wrap {
  position: relative;
  margin-bottom: 24px;
}

.custom-currency-symbol {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gray-500);
}

.custom-amount-input {
  width: 100%;
  padding: 14px 16px 14px 34px;
  font-size: 1.15rem;
  font-weight: 700;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  outline: none;
  transition: border-color var(--transition-fast);
}

.custom-amount-input:focus {
  border-color: var(--royal-700);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

.impact-preview-banner {
  background: var(--royal-50);
  border: 1px solid var(--royal-200);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.impact-preview-icon {
  color: var(--royal-700);
  flex-shrink: 0;
}

.impact-preview-text {
  font-size: 0.95rem;
  color: var(--royal-900);
  font-weight: 600;
}

.donation-donor-info-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--gray-900);
  border-top: 1px solid var(--gray-200);
  padding-top: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  width: 100%;
  box-sizing: border-box;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
  background: var(--white);
}

.form-select {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.gift-modal-window {
  max-width: 840px !important;
  width: 95% !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  padding: 34px 38px !important;
}

@media (max-width: 720px) {
  .gift-modal-window {
    padding: 24px 18px !important;
    max-width: 100% !important;
    width: 96% !important;
  }
  .gift-modal-window .form-row,
  .gift-modal-window [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--royal-700);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-700);
  cursor: pointer;
  margin-bottom: 20px;
}

.payment-methods-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.payment-tab-btn {
  flex: 1;
  padding: 10px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.payment-tab-btn.active {
  border-color: var(--royal-700);
  background: var(--royal-50);
  color: var(--royal-700);
}

.stripe-trust-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 20px;
  text-align: center;
}

.stripe-badge-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.stripe-pill-badge {
  background: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  padding: 5px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.stripe-trust-note {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin: 0;
  line-height: 1.4;
}

.submit-donation-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--royal-700), var(--royal-600));
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 1.15rem;
  font-weight: 800;
  box-shadow: var(--shadow-royal);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--transition-fast);
}

.submit-donation-btn:hover {
  background: linear-gradient(135deg, var(--royal-800), var(--royal-700));
  transform: translateY(-2px);
}

/* Zeffy 100% Free Giving Embed */
.zeffy-header-banner {
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(245, 158, 11, 0.08) 100%);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: var(--radius-lg);
  padding: 22px 24px;
  margin-bottom: 24px;
}

.zeffy-embed-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  min-height: 820px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.zeffy-embed-container iframe {
  position: relative;
  border: 0;
  width: 100%;
  min-height: 820px;
  height: 100%;
  display: block;
}

@media (max-width: 640px) {
  .zeffy-header-banner {
    padding: 16px;
  }
  .zeffy-embed-container {
    min-height: 890px;
  }
  .zeffy-embed-container iframe {
    min-height: 890px;
  }
}

/* Giving Sidebar */
.giving-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.giving-info-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 30px;
}

.giving-info-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.giving-info-title svg {
  color: var(--royal-700);
}

.giving-info-desc {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

/* ==========================================================================
   MERCH VIEW (Dedicated Shop Page)
   ========================================================================== */
.merch-store-section {
  padding: 50px 0 90px;
}

.store-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 16px;
}

.store-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.category-filter-btn {
  padding: 8px 18px;
  background: var(--gray-100);
  color: var(--gray-700);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.category-filter-btn:hover {
  background: var(--gray-200);
}

.category-filter-btn.active {
  background: var(--royal-700);
  color: var(--white);
}

.store-promo-banner {
  background: linear-gradient(135deg, var(--royal-700), var(--royal-900));
  color: var(--white);
  padding: 24px 32px;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.promo-title {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.promo-subtitle {
  color: var(--royal-200);
  font-size: 0.95rem;
}

.promo-code-badge {
  background: rgba(255, 255, 255, 0.15);
  border: 1px dashed rgba(255, 255, 255, 0.5);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Shopping Cart Slide-Over Drawer
   ========================================================================== */
.cart-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-drawer-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -480px;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--white);
  z-index: 101;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-drawer-header {
  padding: 24px;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-drawer-title {
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.close-cart-btn {
  font-size: 1.5rem;
  color: var(--gray-500);
  padding: 4px;
  line-height: 1;
}

.close-cart-btn:hover {
  color: var(--gray-900);
}

.free-shipping-bar-wrap {
  background: var(--royal-50);
  padding: 12px 24px;
  border-bottom: 1px solid var(--royal-100);
}

.free-shipping-text {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--royal-900);
  margin-bottom: 6px;
}

.free-shipping-progress-track {
  height: 6px;
  background: var(--royal-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.free-shipping-progress-fill {
  height: 100%;
  background: var(--royal-700);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray-500);
}

.cart-empty-icon {
  font-size: 3rem;
  color: var(--gray-300);
  margin-bottom: 12px;
}

.cart-item-row {
  display: flex;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-150);
}

.cart-item-img {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-md);
  object-fit: cover;
  border: 1px solid var(--gray-200);
}

.cart-item-details {
  flex: 1;
}

.cart-item-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.cart-item-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-qty-ctrl {
  display: flex;
  align-items: center;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--gray-50);
}

.qty-btn {
  padding: 2px 8px;
  font-weight: 700;
  color: var(--gray-700);
}

.qty-number {
  padding: 2px 10px;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-price {
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--gray-900);
}

.cart-drawer-footer {
  padding: 24px;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gray-900);
  border-top: 1px dashed var(--gray-300);
  padding-top: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: var(--royal-700);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 1.05rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-royal);
  transition: background var(--transition-fast);
}

.checkout-btn:hover {
  background: var(--royal-800);
}

/* ==========================================================================
   WHO IS MALLORY? VIEW
   ========================================================================== */
.mallory-story-section {
  padding: 60px 0 90px;
}

.mallory-story-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.mallory-portrait-column {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mallory-portrait-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.mallory-photo-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--royal-50);
  border: 1px solid var(--royal-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 18px;
  box-shadow: var(--shadow-md);
}

.mallory-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  display: block;
}

.mallory-photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--royal-600);
  padding: 24px;
}

.placeholder-caption {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--royal-950);
}

.placeholder-hint {
  font-size: 0.8rem;
  color: var(--royal-700);
  background: var(--royal-100);
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 600;
}

.mallory-portrait-caption h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.portrait-dates {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--royal-700);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.portrait-quote {
  font-size: 0.925rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.mallory-sidebar-callout {
  background: var(--royal-50);
  border: 1px solid var(--royal-100);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
}

.sidebar-callout-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--royal-950);
  margin-bottom: 8px;
}

.sidebar-callout-text {
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.6;
  margin: 0;
}

.mallory-story-content {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 44px 48px;
  box-shadow: var(--shadow-sm);
}

.mallory-lead-p {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--royal-950);
  line-height: 1.65;
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--royal-100);
}

.mallory-p {
  font-size: 1.075rem;
  color: var(--gray-700);
  line-height: 1.85;
  margin-bottom: 22px;
}

.mallory-subheading-badge {
  display: inline-block;
  background: var(--royal-50);
  color: var(--royal-900);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 6px 16px;
  border-left: 4px solid var(--royal-600);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0 20px;
}

.mallory-tribute-box {
  background: linear-gradient(135deg, var(--royal-900) 0%, #1e3a8a 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin: 32px 0;
  box-shadow: var(--shadow-md);
}

.tribute-box-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.4;
}

.tribute-pillars-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tribute-pillars-list li {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--royal-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tribute-check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #93c5fd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.mallory-mission-connect {
  background: var(--royal-50);
  border: 1px solid var(--royal-200);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  margin-top: 36px;
  text-align: center;
}

.mallory-mission-connect h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--royal-950);
  margin-bottom: 10px;
}

.mallory-mission-connect p {
  font-size: 1.025rem;
  color: var(--gray-700);
  line-height: 1.65;
  max-width: 600px;
  margin: 0 auto 20px;
}

@media (max-width: 992px) {
  .mallory-story-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .mallory-portrait-column {
    position: static;
  }
  .mallory-photo-frame {
    max-width: 360px;
    margin: 0 auto 18px;
  }
  .mallory-story-content {
    padding: 32px 24px;
  }
}

/* ==========================================================================
   OUTREACH VIEW (Legacy Styles Preserved)
   ========================================================================== */
.outreach-hero {
  background: linear-gradient(135deg, var(--royal-900) 0%, var(--royal-950) 100%);
  color: var(--white);
  padding: 80px 0 70px;
  text-align: center;
}

.outreach-detailed-section {
  padding: 80px 0;
}

.outreach-feature-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-bottom: 80px;
}

.outreach-feature-card.reverse {
  direction: rtl;
}

.outreach-feature-card.reverse > * {
  direction: ltr;
}

.outreach-feature-media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 6px solid var(--white);
}

.outreach-feature-media img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.outreach-feature-content h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 16px;
}

.outreach-feature-content p {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Intake Request Form */
.intake-form-section {
  padding: 70px 0 90px;
  background-color: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.intake-form-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 0;
  background: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq-question-btn {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-900);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background var(--transition-fast);
}

.faq-question-btn:hover {
  background: var(--gray-50);
}

.faq-answer {
  display: none;
  padding: 0 24px 22px;
  color: var(--gray-600);
  font-size: 0.975rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

/* ==========================================================================
   OUR TEAM & MISSION VIEW
   ========================================================================== */
.team-section {
  padding: 80px 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 60px;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--royal-300);
}

.team-avatar {
  width: 150px;
  height: 180px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--royal-800), var(--royal-600));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 3px solid var(--white);
  outline: 2px solid var(--royal-200);
  flex-shrink: 0;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: calc(var(--radius-lg) - 3px);
  display: block;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--royal-700);
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

.team-role:not(:last-child) {
  margin-bottom: 14px;
}

.team-bio {
  font-size: 0.925rem;
  color: var(--gray-600);
  line-height: 1.6;
  flex-grow: 1;
}

.team-bio p {
  margin-bottom: 12px;
}

.team-bio p:last-child {
  margin-bottom: 0;
}

.board-directors-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.board-member-card {
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-200);
}

.board-member-name {
  font-weight: 700;
  color: var(--gray-900);
  font-size: 0.95rem;
}

.board-member-title {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* ==========================================================================
   CONTACT VIEW
   ========================================================================== */
.contact-page-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  padding: 70px 0 90px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 26px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.contact-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--royal-50);
  color: var(--royal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-card-text {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ==========================================================================
   Modals & Popups (Simulated Checkout, Donation Receipt, RSVP)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background: var(--white);
  border-radius: var(--radius-xl);
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95);
  transition: transform 0.25s ease;
  padding: 36px;
  position: relative;
}

.modal-backdrop.active .modal-window {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: var(--gray-400);
  padding: 4px;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--gray-800);
}

/* Receipt Modal Styles */
.receipt-stamp {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.receipt-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}

.receipt-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.receipt-card-details {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--gray-150);
}

.receipt-row:last-child {
  border-bottom: none;
  font-weight: 700;
  font-size: 1rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--gray-900);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  pointer-events: auto;
  animation: slideInToast 0.3s ease forwards;
}

.toast.success {
  border-left: 4px solid #22c55e;
}

@keyframes slideInToast {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--royal-950);
  color: var(--gray-300);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-link {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 16px;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.footer-brand-link:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.footer-brand-logo-img {
  height: 58px;
  width: auto;
  aspect-ratio: 977 / 511;
  object-fit: contain;
  display: block;
}

.footer-brand-title {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-brand-desc {
  font-size: 0.925rem;
  line-height: 1.65;
  color: var(--gray-300);
  margin-bottom: 22px;
  max-width: 320px;
}

.footer-tax-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 0.775rem;
  color: var(--royal-200);
}

.footer-heading {
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links-list a {
  color: var(--gray-300);
  font-size: 0.925rem;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-hotline-callout {
  background: rgba(29, 78, 216, 0.25);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 18px;
}

.footer-hotline-title {
  color: var(--white);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-hotline-number {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--royal-200);
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--white);
  font-size: 0.875rem;
  outline: none;
}

.newsletter-btn {
  background: var(--royal-600);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.875rem;
  transition: background var(--transition-fast);
}

.newsletter-btn:hover {
  background: var(--royal-500);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--gray-400);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-image-card img,
  .hero-video-player {
    height: 380px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .merch-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .mission-pillars-grid {
    grid-template-columns: 1fr;
  }
  .donation-page-layout {
    grid-template-columns: 1fr;
  }
  .contact-page-layout {
    grid-template-columns: 1fr;
  }
  .footer-top-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .outreach-feature-card {
    grid-template-columns: 1fr;
  }
  .outreach-feature-card.reverse {
    direction: ltr;
  }
  .story-card-large {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hotline-banner .container {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  .main-nav {
    display: none;
  }
  .brand-logo-img {
    height: 42px;
  }
  .header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .header-donate-btn {
    padding: 8px 16px;
    font-size: 0.88rem;
  }
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    color: var(--gray-800);
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
  }
  .mobile-menu-btn:hover,
  .mobile-menu-btn:active {
    background: var(--royal-50);
    color: var(--royal-700);
    border-color: var(--royal-200);
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .hero-image-card img,
  .hero-video-player {
    height: 280px;
  }
  .section-heading {
    font-size: 1.95rem;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .mission-card {
    padding: 36px 22px;
  }
  .mission-statement-quote {
    font-size: 1.1rem;
    padding: 16px 18px;
    line-height: 1.7;
  }
  .programs-grid {
    grid-template-columns: 1fr;
  }
  .giving-options-grid {
    grid-template-columns: 1fr;
  }
  .merch-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .board-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .event-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  
  /* ==========================================================================
     Mobile Navigation Drawer & Overlay
     ========================================================================== */
  body.drawer-open {
    overflow: hidden !important;
    touch-action: none;
  }

  .mobile-nav-backdrop {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .mobile-nav-backdrop.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(380px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    z-index: 160;
    flex-direction: column;
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 36px rgba(15, 23, 42, 0.25);
    border-left: 1px solid var(--gray-200);
  }

  .mobile-nav-drawer.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-200);
    background: var(--gray-50);
    flex-shrink: 0;
  }

  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-nav-brand-img {
    height: 38px;
    width: auto;
    object-fit: contain;
  }

  .mobile-nav-brand-text {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--royal-900);
    letter-spacing: -0.02em;
  }

  .mobile-nav-close-btn {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-full);
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--gray-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    padding: 0;
  }

  .mobile-nav-close-btn:hover,
  .mobile-nav-close-btn:active {
    background: var(--gray-100);
    color: var(--royal-700);
    border-color: var(--royal-200);
  }

  .mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 18px 20px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .mobile-nav-link {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all var(--transition-fast);
    background: transparent;
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:active {
    background: var(--royal-50);
    color: var(--royal-700);
    padding-left: 18px;
  }

  .mobile-nav-link.active {
    background: var(--royal-50);
    color: var(--royal-700);
    font-weight: 800;
  }

  /* Mobile Groups */
  .mobile-nav-group {
    border-radius: var(--radius-md);
    background: transparent;
    transition: background var(--transition-fast);
  }

  .mobile-nav-group-btn {
    background: none;
    border: none;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-800);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: all var(--transition-fast);
  }

  .mobile-nav-group-btn:hover,
  .mobile-nav-group-btn:active,
  .mobile-nav-group.open .mobile-nav-group-btn {
    background: var(--gray-100);
    color: var(--royal-700);
  }

  .mobile-group-chevron {
    transition: transform 0.25s ease;
    color: var(--gray-400);
  }

  .mobile-nav-group.open .mobile-group-chevron {
    transform: rotate(180deg);
    color: var(--royal-700);
  }

  .mobile-nav-sublinks {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 6px 8px 10px 14px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    margin: 4px 6px 8px;
    border-left: 3px solid var(--royal-600);
  }

  .mobile-nav-group.open .mobile-nav-sublinks {
    display: flex;
  }

  .mobile-sublink {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
  }

  .mobile-sublink:hover,
  .mobile-sublink:active {
    color: var(--royal-700);
    background: var(--white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }

  .mobile-sublink.active {
    color: var(--royal-700);
    background: var(--white);
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .mobile-sublink-badge {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--royal-100);
    color: var(--royal-800);
  }

  .mobile-nav-cta {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid var(--gray-200);
  }

  .mobile-nav-donate-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--royal-700), var(--royal-600));
    color: var(--white);
    border: none;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(29, 78, 216, 0.3);
    cursor: pointer;
    transition: all var(--transition-fast);
  }

  .mobile-nav-donate-btn:hover {
    background: linear-gradient(135deg, var(--royal-800), var(--royal-700));
  }

  .mobile-nav-donate-btn:active {
    transform: scale(0.98);
  }

  .mobile-nav-footer {
    margin-top: auto;
    padding: 14px 16px;
    background: var(--royal-50);
    border-radius: var(--radius-md);
    border: 1px solid var(--royal-100);
    text-align: center;
  }

  .mobile-nav-footer-lead {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--royal-800);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .mobile-nav-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--royal-900);
    text-decoration: none;
  }
}

/* ==========================================================================
   CHRISTMAS & HOLIDAY ASSISTANCE STYLES
   ========================================================================== */
.christmas-banner-callout {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 50%, #2563eb 100%);
  border-radius: var(--radius-xl);
  color: var(--white);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 32px -8px rgba(29, 78, 216, 0.35);
  margin-bottom: 48px;
}

.christmas-banner-callout::before {
  content: '❄️';
  position: absolute;
  top: -15px;
  right: 20px;
  font-size: 5rem;
  opacity: 0.15;
  pointer-events: none;
}

.christmas-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

/* Christmas Request & Information Page Layout */
.christmas-request-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

@media (max-width: 992px) {
  .christmas-request-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.xmas-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.xmas-info-card:hover {
  box-shadow: var(--shadow-md);
}

.xmas-info-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 10px;
}

.xmas-step-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 10px;
}

.xmas-step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.xmas-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--royal-700);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.xmas-step-content h5 {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--royal-950);
  margin-bottom: 2px;
}

.xmas-step-content p {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.45;
  margin: 0;
}

.xmas-faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
}

.xmas-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.xmas-faq-q {
  font-weight: 700;
  color: var(--royal-900);
  font-size: 0.92rem;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.xmas-faq-a {
  font-size: 0.84rem;
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

.xmas-sponsor-box {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 26px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(30, 58, 138, 0.4);
}

.xmas-resource-notice {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  border-left: 4px solid #d97706;
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.xmas-resource-notice .notice-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 1px;
}

.xmas-resource-notice h5 {
  font-size: 0.92rem;
  font-weight: 800;
  color: #92400e;
  margin: 0 0 4px 0;
}

.xmas-resource-notice p {
  font-size: 0.84rem;
  color: #78350f;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   Admin Paper Form Entry Modal Styles
   ========================================================================== */

.paper-form-modal {
  max-width: 1140px !important;
  width: 95vw !important;
  max-height: 94vh !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  border-radius: var(--radius-xl) !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.45) !important;
  background: #f8fafc !important;
}

.paper-form-header {
  padding: 20px 28px;
  background: var(--white);
  border-bottom: 1.5px solid var(--royal-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
}

.paper-form-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.paper-form-header-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #dcfce7;
  color: #166534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(22, 101, 52, 0.12);
}

.paper-form-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--royal-950);
  margin: 0;
  line-height: 1.2;
}

.paper-form-subtitle {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin: 3px 0 0;
}

.paper-form-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}

.paper-form-footer {
  padding: 16px 28px;
  background: var(--white);
  border-top: 1.5px solid var(--gray-200);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  flex-shrink: 0;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}

.paper-page-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 22px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.paper-page-card-children {
  background: #f8fafc;
  border: 1.5px solid #bfdbfe;
}

.paper-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid var(--gray-200);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.paper-page-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--royal-950);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

/* Page 1 Specific Subcards */
.paper-contact-subcard {
  background: #f8fafc;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.paper-perm-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 6px;
  display: block;
}

.paper-perm-options {
  display: flex;
  gap: 10px;
}

.paper-perm-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--white);
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--gray-700);
  user-select: none;
}

.paper-perm-pill:hover {
  border-color: var(--royal-400);
}

.paper-perm-pill:has(input:checked) {
  background: #eff6ff;
  border-color: var(--royal-600);
  color: var(--royal-900);
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.12);
}

.paper-perm-pill input {
  accent-color: var(--royal-600);
  cursor: pointer;
}

.paper-sig-card {
  background: #ecfdf5;
  border: 1.5px solid #a7f3d0;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.paper-sig-card:hover {
  border-color: #34d399;
  background: #e6fcf1;
}

.paper-sig-card input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  accent-color: #16a34a;
  cursor: pointer;
  flex-shrink: 0;
}

.paper-sig-card strong {
  display: block;
  font-size: 0.88rem;
  color: #065f46;
  font-weight: 800;
}

.paper-sig-card small {
  display: block;
  font-size: 0.78rem;
  color: #047857;
  margin-top: 2px;
}

/* Page 2 Child Card Entry Blocks */
.paper-child-block {
  background: var(--white);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.05);
  transition: all var(--transition-fast);
}

.paper-child-block:hover {
  border-color: var(--royal-400);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.paper-child-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #f1f5f9;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.paper-child-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}

.paper-child-number-badge {
  background: #e0f2fe;
  color: #0369a1;
  padding: 4px 12px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.85rem;
  border: 1px solid #bae6fd;
}

.paper-child-title-name {
  font-weight: 800;
  color: var(--royal-950);
  font-size: 1.02rem;
}

.paper-child-remove-btn {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.paper-child-remove-btn:hover {
  background: #fee2e2;
  border-color: #f87171;
  color: #b91c1c;
}

.paper-child-demographics-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.3fr 1.3fr;
  gap: 14px;
  margin-bottom: 16px;
}

.paper-child-subpanel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 14px;
}

.paper-subpanel-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--royal-900);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.paper-sizes-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(130px, 1fr));
  gap: 12px;
}

.paper-favorites-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
  gap: 12px;
}

.paper-add-child-banner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 20px;
  background: var(--white);
  border: 2px dashed #93c5fd;
  border-radius: 10px;
  color: var(--royal-700);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.paper-add-child-banner-btn:hover {
  background: #eff6ff;
  border-color: var(--royal-500);
  color: var(--royal-900);
}

/* Universal Grid Classes & Responsive Support */
.paper-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

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

.paper-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 14px;
}

.paper-grid-5 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.paper-form-modal .form-group,
.paper-form-modal .paper-sizes-grid > *,
.paper-form-modal .paper-favorites-grid > *,
.paper-form-modal .paper-child-demographics-grid > *,
.paper-form-modal .paper-grid-4 > *,
.paper-form-modal .paper-grid-3 > *,
.paper-form-modal .paper-grid-2 > *,
.paper-form-modal .paper-grid-5 > * {
  min-width: 0;
}

.paper-form-modal .form-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gray-700);
  margin-bottom: 5px;
  display: block;
}

.paper-form-modal .form-input,
.paper-form-modal .form-select,
.paper-form-modal .form-textarea {
  width: 100%;
  box-sizing: border-box;
  font-size: 0.88rem;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .paper-sizes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .paper-favorites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .paper-form-modal {
    width: 98vw !important;
    max-height: 96vh !important;
  }
  .paper-form-header,
  .paper-form-body,
  .paper-form-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .paper-child-demographics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .paper-sizes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .paper-favorites-grid {
    grid-template-columns: 1fr;
  }
  .paper-grid-4,
  .paper-grid-3,
  .paper-grid-2,
  .paper-grid-5 {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .paper-child-demographics-grid {
    grid-template-columns: 1fr;
  }
  .paper-sizes-grid {
    grid-template-columns: 1fr;
  }
}

.child-card-entry {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  transition: all var(--transition-fast);
}

.child-card-entry:hover {
  border-color: var(--royal-300);
  box-shadow: var(--shadow-sm);
}

.child-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 10px;
}

.child-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--royal-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.remove-child-btn {
  background: rgba(239, 68, 68, 0.1);
  color: #dc2626;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--transition-fast);
}

.remove-child-btn:hover {
  background: #dc2626;
  color: var(--white);
}

.add-child-btn {
  background: var(--royal-50);
  color: var(--royal-700);
  border: 2px dashed var(--royal-300);
  border-radius: var(--radius-lg);
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  transition: all var(--transition-fast);
}

.add-child-btn:hover {
  background: var(--royal-100);
  border-color: var(--royal-600);
  color: var(--royal-900);
}

/* ==========================================================================
   SCHOOL CHRISTMAS FORM MULTI-STEP WIZARD
   ========================================================================== */
.wizard-stepper-header {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.wizard-stepper-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.wizard-stepper-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--royal-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.draft-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.draft-reset-btn {
  background: transparent;
  border: none;
  color: var(--gray-500);
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 2px 6px;
  margin-left: 4px;
}

.draft-reset-btn:hover {
  color: var(--accent-red);
}

.wizard-stepper-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}

.wizard-step-node {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-lg);
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.wizard-step-node.active {
  background: var(--royal-50);
  border-color: var(--royal-600);
  box-shadow: var(--shadow-sm);
}

.wizard-step-node.completed {
  background: #f8fafc;
  border-color: var(--royal-400);
}

.wizard-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-200);
  color: var(--gray-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.wizard-step-node.active .wizard-step-num {
  background: var(--royal-600);
  color: var(--white);
}

.wizard-step-node.completed .wizard-step-num {
  background: #10b981;
  color: var(--white);
}

.wizard-step-text {
  display: flex;
  flex-direction: column;
}

.wizard-step-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
}

.wizard-step-node.active .wizard-step-label {
  color: var(--royal-600);
}

.wizard-step-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-700);
}

.wizard-step-node.active .wizard-step-name {
  color: var(--royal-900);
}

.wizard-progress-bar-wrap {
  height: 6px;
  background: var(--gray-200);
  border-radius: var(--radius-full);
  margin-top: 18px;
  overflow: hidden;
}

.wizard-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--royal-600), #3b82f6);
  width: 25%;
  border-radius: var(--radius-full);
  transition: width 0.35s ease-in-out;
}

/* Step Content Transitions */
.wizard-step-pane {
  display: none;
  animation: fadeInStep 0.25s ease-in-out forwards;
}

.wizard-step-pane.active {
  display: block;
}

@keyframes fadeInStep {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reassurance Banner */
.reassurance-banner {
  background: linear-gradient(135deg, var(--royal-50) 0%, #eff6ff 100%);
  border: 1px solid var(--royal-200);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.reassurance-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--royal-100);
  color: var(--royal-700);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Child Navigation Tabs */
.child-tabs-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--gray-200);
}

.child-tab-btn {
  background: var(--gray-100);
  color: var(--gray-700);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.child-tab-btn:hover {
  background: var(--royal-50);
  border-color: var(--royal-300);
  color: var(--royal-700);
}

.child-tab-btn.active {
  background: var(--royal-600);
  color: var(--white);
  border-color: var(--royal-600);
  box-shadow: var(--shadow-sm);
}

.child-tab-btn .tab-close-icon {
  font-size: 1rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  margin-left: 2px;
}

.child-tab-btn .tab-close-icon:hover {
  opacity: 1;
  color: #fca5a5;
}

.child-tab-add-btn {
  background: var(--royal-50);
  color: var(--royal-700);
  border: 1.5px dashed var(--royal-400);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition-fast);
}

.child-tab-add-btn:hover {
  background: var(--royal-100);
  border-color: var(--royal-600);
  color: var(--royal-900);
}

/* Child Form Pane */
.child-form-pane {
  display: none;
}

.child-form-pane.active {
  display: block;
}

/* Child Section Group Box */
.child-subcard {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.child-subcard-title {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--royal-900);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

/* Toggle Pill Group (Yes/No selector) */
.toggle-pill-group {
  display: inline-flex;
  background: var(--gray-100);
  padding: 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  gap: 4px;
}

.toggle-pill-btn {
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--gray-600);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.toggle-pill-btn:hover {
  color: var(--royal-900);
}

.toggle-pill-btn.active {
  background: var(--white);
  color: var(--royal-700);
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.toggle-pill-btn.active-yes {
  background: #15803d;
  color: var(--white);
  box-shadow: 0 1px 3px rgba(21,128,61,0.3);
}

.toggle-pill-btn.active-no {
  background: #475569;
  color: var(--white);
}

/* Card Selection for Support */
.support-choice-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 20px;
  transition: all var(--transition-fast);
}

.support-choice-card.highlighted {
  border-color: var(--royal-300);
  background: #fafcff;
}

.support-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.support-card-info {
  flex: 1;
  min-width: 260px;
}

.support-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--royal-900);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.support-card-desc {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.support-conditional-details {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--gray-200);
  animation: fadeInStep 0.25s ease-in-out forwards;
}

/* Signature Pad Styles */
.signature-box-container {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 14px;
}

.signature-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.signature-tab-btn {
  background: transparent;
  border: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gray-500);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.signature-tab-btn.active {
  background: var(--white);
  color: var(--royal-700);
  box-shadow: var(--shadow-sm);
}

.signature-canvas {
  width: 100%;
  height: 120px;
  background: var(--white);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-md);
  cursor: crosshair;
  touch-action: none;
  display: block;
}

.signature-type-preview {
  font-family: 'Brush Script MT', 'Dancing Script', 'Caveat', cursive, sans-serif;
  font-size: 2.2rem;
  color: var(--royal-900);
  padding: 16px;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px dashed var(--gray-300);
  border-radius: var(--radius-md);
}

.signature-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 8px;
}

/* Wizard Navigation Bar */
.wizard-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  gap: 16px;
  flex-wrap: wrap;
}

/* Review Step Styles */
.review-section-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 20px;
}

.review-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 8px;
}

.review-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--royal-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.review-edit-btn {
  background: var(--white);
  border: 1px solid var(--gray-300);
  color: var(--royal-700);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.review-edit-btn:hover {
  background: var(--royal-50);
  border-color: var(--royal-500);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  font-size: 0.9rem;
}

.review-item label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-500);
  margin-bottom: 2px;
  font-weight: 700;
}

.review-item strong {
  color: var(--gray-900);
}

.review-child-pill {
  background: var(--white);
  border: 1px solid var(--royal-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.allergy-badge {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .wizard-stepper-steps {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .wizard-step-node {
    padding: 8px 10px;
  }
  .wizard-step-name {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   STAFF ADMIN PORTAL STYLES
   ========================================================================== */
.admin-portal-wrap {
  padding: 50px 0 90px;
  background-color: var(--gray-50);
  min-height: calc(100vh - 200px);
}

.admin-login-card {
  max-width: 440px;
  margin: 60px auto;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 44px 36px;
  box-shadow: var(--shadow-xl);
  text-align: center;
}

.admin-login-brand {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
}

.admin-login-logo {
  height: 62px;
  width: auto;
  aspect-ratio: 977 / 511;
  object-fit: contain;
  display: block;
}

/* Compact Executive KPI Metrics Strip */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

@media (min-width: 1024px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.admin-kpi-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-fast);
  cursor: pointer;
  user-select: none;
}

.admin-kpi-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--royal-600);
  opacity: 0.75;
  transition: opacity var(--transition-fast), height var(--transition-fast);
}

.admin-kpi-card:hover {
  border-color: var(--royal-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.admin-kpi-card:hover::before {
  opacity: 1;
  height: 4px;
}

.admin-kpi-card.kpi-accent-amber::before { background: #d97706; }
.admin-kpi-card.kpi-accent-green::before { background: #16a34a; }
.admin-kpi-card.kpi-accent-royal::before { background: var(--royal-700); }
.admin-kpi-card.kpi-accent-purple::before { background: #7c3aed; }
.admin-kpi-card.kpi-accent-sky::before { background: #0284c7; }
.admin-kpi-card.kpi-accent-indigo::before { background: #4f46e5; }

.admin-kpi-val {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--royal-800);
  line-height: 1;
  letter-spacing: -0.02em;
}

.admin-kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Elevated Segmented Section Navigation Bar */
.admin-nav-bar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 6px;
  margin-bottom: 22px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.admin-tabs-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 2px;
  margin-bottom: 0;
  border-bottom: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.admin-tabs-nav::-webkit-scrollbar {
  display: none;
}

.admin-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gray-600);
  border: 1px solid transparent;
  background: transparent;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  cursor: pointer;
  user-select: none;
  line-height: 1.2;
}

.admin-tab-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.2;
  color: var(--gray-500);
  transition: color var(--transition-fast);
  flex-shrink: 0;
}

.admin-tab-btn:hover {
  background: var(--gray-100);
  color: var(--gray-900);
}

.admin-tab-btn:hover svg {
  color: var(--royal-700);
}

.admin-tab-btn.active {
  background: var(--royal-800);
  color: #ffffff;
  border-color: var(--royal-800);
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.28);
}

.admin-tab-btn.active svg {
  color: #ffffff;
}

/* Tab Badges */
.admin-tab-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 6px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  background: var(--gray-150);
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.admin-tab-btn.active .admin-tab-badge {
  background: rgba(255, 255, 255, 0.24);
  color: #ffffff;
}

.admin-tab-badge.badge-alert {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.admin-tab-btn.active .admin-tab-badge.badge-alert {
  background: #f59e0b;
  color: #ffffff;
  border-color: transparent;
}

.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-search-input {
  padding: 10px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  min-width: 260px;
  outline: none;
}

.admin-search-input:focus {
  border-color: var(--royal-600);
}

.admin-table-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.admin-table th {
  background: var(--gray-100);
  padding: 14px 18px;
  font-weight: 700;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--gray-150);
  color: var(--gray-800);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: var(--royal-50);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-badge.new {
  background: #e0f2fe;
  color: #0369a1;
}

.status-badge.in-review {
  background: #fef3c7;
  color: #b45309;
}

.status-badge.approved {
  background: #dcfce7;
  color: #15803d;
}

.status-badge.fulfilled {
  background: var(--royal-100);
  color: var(--royal-800);
}

.status-badge.urgent {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-action-btn {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 700;
  border: 1px solid var(--gray-300);
  background: var(--white);
  color: var(--gray-700);
  transition: all var(--transition-fast);
}

.admin-action-btn:hover {
  background: var(--royal-50);
  border-color: var(--royal-500);
  color: var(--royal-700);
}

/* Printable Child Wish Tags */
.child-tags-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.child-tag-card {
  border: 2px dashed var(--royal-300);
  border-radius: var(--radius-lg);
  padding: 24px;
  background: #ffffff;
  position: relative;
}

.child-tag-card::before {
  content: '🏷️ MALLORY\'S WAY CHILD WISH TAG';
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--royal-700);
  margin-bottom: 12px;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--gray-200);
  padding-bottom: 6px;
}

/* Warehouse Bin & Admin Fulfillment Badges */
.badge-bin {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--royal-700);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.admin-btn-action-group {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-action-btn-sm {
  padding: 4px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-300);
  background: #ffffff;
  color: var(--gray-800);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all var(--transition-fast);
}

.admin-action-btn-sm:hover {
  background: var(--royal-50);
  border-color: var(--royal-400);
  color: var(--royal-800);
}

/* Screen mode: hide print containers */
#childTagsPrintContainer,
#adminPrintContainer {
  display: none;
}

@media print {
  /* Set exact color printing for badges, backgrounds, borders */
  *, *::before, *::after {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  @page {
    margin: 10mm;
    size: auto;
  }

  body {
    background: #ffffff !important;
    color: #0f172a !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Hide normal site elements during print */
  .site-header,
  .site-footer,
  #mainContent,
  .toast-container,
  .mobile-nav-drawer,
  .mobile-nav-backdrop,
  .modal-backdrop {
    display: none !important;
  }

  /* Allow modal printing if print containers are empty (e.g., receipts) */
  body:has(#adminPrintContainer:empty):has(#childTagsPrintContainer:empty) .modal-backdrop.active {
    display: flex !important;
    position: static !important;
    background: #ffffff !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  body:has(#adminPrintContainer:empty):has(#childTagsPrintContainer:empty) .modal-backdrop.active .modal-window {
    box-shadow: none !important;
    border: 1.5px solid #cbd5e1 !important;
    max-width: 100% !important;
    padding: 24px !important;
    transform: none !important;
  }

  body:has(#adminPrintContainer:empty):has(#childTagsPrintContainer:empty) .modal-backdrop.active .modal-close-btn,
  body:has(#adminPrintContainer:empty):has(#childTagsPrintContainer:empty) .modal-backdrop.active button {
    display: none !important;
  }

  /* Show active print containers in normal flow */
  #adminPrintContainer,
  #childTagsPrintContainer {
    display: block !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    visibility: visible !important;
  }

  #adminPrintContainer *,
  #childTagsPrintContainer * {
    visibility: visible !important;
  }

  #adminPrintContainer:empty,
  #childTagsPrintContainer:empty {
    display: none !important;
  }

  .bin-placard-page {
    box-shadow: none !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 14px 18px !important;
    border: 3px solid #1e3a8a !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .shopper-list-page {
    box-shadow: none !important;
    max-width: 100% !important;
    margin: 0 0 20px 0 !important;
  }

  .shopper-print-table {
    width: 100% !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
  }

  .shopper-print-table thead {
    display: table-header-group !important;
  }

  .shopper-print-table tbody {
    display: table-row-group !important;
  }

  .shopper-child-card,
  .shopper-signoff-card {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .print-page-break {
    page-break-after: always !important;
    break-after: page !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }
}

/* ==========================================================================
   PRINTABLE WAREHOUSE PLACARDS & VOLUNTEER SHOPPER LISTS
   ========================================================================== */
.bin-placard-page {
  box-sizing: border-box;
  max-width: 800px;
  width: 100%;
  margin: 0 auto 24px auto;
  padding: 16px 20px;
  background: #ffffff;
  border: 3px solid #1e3a8a;
  border-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
  page-break-inside: avoid !important;
  break-inside: avoid !important;
}

.bin-placard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2.5px solid #1e3a8a;
  padding-bottom: 8px;
  margin-bottom: 10px;
}

.bin-placard-org-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.bin-placard-org-sub {
  font-size: 0.78rem;
  color: #64748b;
  margin-top: 2px;
}

.bin-placard-badge-giant {
  font-size: 2.1rem;
  font-weight: 900;
  background: #1e3a8a;
  color: #ffffff;
  padding: 4px 18px;
  border-radius: 8px;
  letter-spacing: 0.05em;
  font-family: ui-monospace, monospace;
  line-height: 1.2;
}

.bin-placard-family-box {
  text-align: left;
  margin: 10px 0;
  padding: 12px 18px;
  background: #f8fafc;
  border: 2px solid #94a3b8;
  border-radius: 10px;
}

.bin-placard-family-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bin-placard-family-name {
  font-size: 2.3rem;
  font-weight: 900;
  color: #0f172a;
  margin: 2px 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.bin-placard-contact-meta {
  font-size: 0.88rem;
  color: #334155;
  margin-top: 3px;
}

.bin-placard-qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  padding: 6px 10px;
  border: 2px solid #1e3a8a;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  text-align: center;
}

.bin-placard-qr-code svg,
.bin-placard-qr-code img {
  width: 100px;
  height: 100px;
  display: block;
}

.bin-placard-qr-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1e3a8a;
  letter-spacing: 0.06em;
  margin-top: 3px;
  text-transform: uppercase;
  font-family: ui-monospace, monospace;
}

.bin-placard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 10px 0;
}

.bin-placard-card {
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 0.84rem;
  line-height: 1.45;
}

.bin-placard-card-title {
  font-size: 0.76rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 3px;
}

.bin-placard-children-wrap {
  border-top: 2px dashed #94a3b8;
  padding-top: 10px;
  margin-top: 10px;
}

.bin-placard-children-title {
  font-size: 0.84rem;
  font-weight: 800;
  color: #1e3a8a;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bin-placard-kids-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.bin-placard-kid-pill {
  background: #ffffff;
  border: 1.5px solid #2563eb;
  color: #1e3a8a;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.84rem;
  line-height: 1.3;
}

.bin-placard-kid-pill.allergy {
  border-color: #dc2626;
  background: #fef2f2;
  color: #991b1b;
}

.bin-placard-footer {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid #cbd5e1;
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 600;
}

/* Volunteer Shopper Styles */
.shopper-list-page {
  box-sizing: border-box;
  max-width: 840px;
  margin: 0 auto 30px auto;
  padding: 28px 24px;
  background: #ffffff;
  border: 2px solid #334155;
  border-radius: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #0f172a;
}

.shopper-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2.5px solid #0f172a;
  padding-bottom: 12px;
  margin-bottom: 14px;
  gap: 16px;
}

.shopper-org-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.shopper-family-heading {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0f172a;
  margin: 4px 0;
  text-transform: uppercase;
}

.shopper-meta-text {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
}

.shopper-bin-badge-box {
  text-align: center;
  background: #f8fafc;
  border: 2px solid #1e3a8a;
  border-radius: 10px;
  padding: 8px 18px;
  min-width: 170px;
}

.shopper-bin-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #1e3a8a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shopper-bin-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: #1e3a8a;
  font-family: ui-monospace, monospace;
}

.shopper-allergy-alert {
  background: #fef2f2;
  border: 2.5px solid #ef4444;
  border-radius: 8px;
  padding: 10px 16px;
  color: #991b1b;
  margin-bottom: 14px;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.shopper-foodbox-alert {
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  border-radius: 8px;
  padding: 8px 14px;
  color: #065f46;
  margin-bottom: 14px;
  font-size: 0.88rem;
}

.shopper-child-card {
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 16px;
  background: #ffffff;
}

.shopper-child-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #e2e8f0;
  padding-bottom: 6px;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.shopper-child-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #1e3a8a;
}

.shopper-sizes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 0.88rem;
}

.shopper-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.shopper-box {
  display: inline-block;
  width: 15px;
  height: 15px;
  border: 2px solid #334155;
  border-radius: 3px;
  flex-shrink: 0;
  background: #fff;
}

.shopper-favs-row {
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 8px;
  line-height: 1.4;
}

.shopper-wishes-card {
  background: #eff6ff;
  border: 1.5px solid #93c5fd;
  border-radius: 6px;
  padding: 10px 14px;
  margin-bottom: 10px;
}

.shopper-wishes-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.shopper-wishes-body {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
}

.shopper-special-items {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.shopper-special-badge {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.shopper-signoff-card {
  border-top: 2px dashed #94a3b8;
  padding-top: 12px;
  margin-top: 14px;
  font-size: 0.85rem;
  color: #334155;
}

.shopper-signoff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}

/* ==========================================================================
   SHOPPING PROGRESS, STATUS BADGES & INTERACTIVE CHECKLISTS
   ========================================================================== */
.shopping-progress-cell {
  min-width: 175px;
}

.shopping-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.shopping-badge.needs-shopping {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
}

.shopping-badge.in-progress {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #93c5fd;
}

.shopping-badge.complete {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #86efac;
}

.table-progress-bar-bg {
  height: 6px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 2px;
}

.table-progress-bar-fill {
  height: 100%;
  background: #2563eb;
  border-radius: 9999px;
  transition: width 0.2s ease;
}

.table-progress-bar-fill.complete {
  background: #16a34a;
}

/* Interactive Child Item Checklist in Modal */
.child-item-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--royal-200);
}

.child-check-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 5px 8px;
  cursor: pointer;
  user-select: none;
  transition: all 0.15s ease;
}

.child-check-item:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.child-check-item.bought {
  background: #f0fdf4;
  border-color: #86efac;
  color: #166534;
  font-weight: 700;
}

.child-check-item input[type="checkbox"] {
  width: 15px;
  height: 15px;
  accent-color: #16a34a;
  cursor: pointer;
}

/* Multi-page Volunteer Shopper Repeating Header & Print Table */
.shopper-print-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  margin: 0;
  padding: 0;
}

.shopper-print-table thead {
  display: table-header-group;
}

.shopper-print-table tbody {
  display: table-row-group;
}

.shopper-running-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  border: 1.5px solid #1e3a8a;
  border-bottom: 2.5px solid #1e3a8a;
  border-radius: 6px;
  padding: 5px 12px;
  margin-bottom: 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 0.78rem;
  color: #1e3a8a;
}

.shopper-running-bin {
  background: #1e3a8a;
  color: #ffffff;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
}

.shopper-check-item.bought {
  color: #166534;
  font-weight: 700;
}

.shopper-check-item.bought .shopper-box {
  background: #16a34a;
  border-color: #16a34a;
  position: relative;
}

.shopper-check-item.bought .shopper-box::after {
  content: '✓';
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  position: absolute;
  top: -2px;
  left: 2px;
}

/* ==========================================================================
   Admin Event Management Styles
   ========================================================================== */
.status-badge.upcoming {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.status-badge.completed {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.status-badge.draft {
  background: #fef3c7;
  color: #b45309;
  border: 1px solid #fde68a;
}

.event-table-date-box {
  width: 54px;
  height: 54px;
  background: var(--royal-50);
  border: 1.5px solid var(--royal-200);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.event-table-month {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--royal-700);
  letter-spacing: 0.05em;
  line-height: 1;
}

.event-table-day {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--royal-950);
  line-height: 1.1;
  font-family: var(--font-heading);
}

.admin-action-btn.edit {
  color: var(--royal-600);
  border-color: var(--royal-200);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.admin-action-btn.edit:hover {
  background: var(--royal-50);
  border-color: var(--royal-500);
}

.admin-action-btn.delete {
  color: var(--crimson-600);
  border-color: #fecaca;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.admin-action-btn.delete:hover {
  background: #fef2f2;
  border-color: var(--crimson-500);
}

/* --- Mailing List & Subscribers --- */
.status-badge.subscribed {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
}

.status-badge.unsubscribed {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #cbd5e1;
}

.admin-action-btn.toggle {
  color: #0284c7;
  border-color: #bae6fd;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.admin-action-btn.toggle:hover {
  background: #f0f9ff;
  border-color: #0284c7;
}

/* --- Unsubscribe Page Layout --- */
.unsubscribe-layout {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px 80px;
}

.unsubscribe-card {
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 40px;
  max-width: 540px;
  width: 100%;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
}

.unsubscribe-icon-header {
  text-align: center;
  margin-bottom: 24px;
}

.unsubscribe-icon-badge {
  width: 56px;
  height: 56px;
  background: #fee2e2;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 14px;
}

/* ==========================================================================
   Backoffice Users & Roles Management Styles
   ========================================================================== */
.user-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.user-role-badge.badge-admin {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.user-role-badge.badge-member {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}

.admin-user-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.role-select-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 14px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: all 0.15s ease;
  background: var(--white);
}

.role-select-card:hover {
  border-color: var(--royal-400);
  background: var(--royal-50);
}

.role-select-card.selected {
  border-color: #2563eb;
  background: #f0f7ff;
  box-shadow: 0 0 0 1px #2563eb;
}

.role-select-card input[type="radio"] {
  margin-top: 4px;
  cursor: pointer;
  accent-color: #2563eb;
}

/* ==========================================================================
   GIFT CHECK-IN & BIN AUDIT SCANNER SYSTEM
   ========================================================================== */

.scanner-hero-card {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-xl);
  padding: 22px 24px;
  margin-bottom: 22px;
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.06);
}

.scanner-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #86efac;
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scanner-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #16a34a;
  box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7);
  animation: scanner-pulse 1.8s infinite;
}

@keyframes scanner-pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.audit-mode-badge {
  display: inline-flex;
  align-items: center;
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fcd34d;
  border-radius: 9999px;
  padding: 3px 12px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.scanner-input-wrapper {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
}

.scanner-input-icon {
  position: absolute;
  left: 16px;
  font-size: 1.3rem;
  pointer-events: none;
  opacity: 0.7;
}

.scanner-big-input {
  flex: 1;
  padding: 16px 20px 16px 50px;
  font-size: 1.15rem;
  font-weight: 700;
  font-family: inherit;
  color: #0f172a;
  background: var(--white);
  border: 2.5px solid #3b82f6;
  border-radius: var(--radius-lg);
  outline: none;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
  transition: all 0.2s ease;
}

.scanner-big-input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 5px rgba(29, 78, 216, 0.25);
}

.scanner-submit-btn {
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  border-radius: var(--radius-lg);
}

.scanner-options-bar {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
  font-size: 0.82rem;
  color: var(--gray-600);
}

.scanner-auto-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 600;
  user-select: none;
}

.scanner-auto-toggle input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #2563eb;
  cursor: pointer;
}

.scanner-quick-test-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #cbd5e1;
}

.btn-quick-scan {
  background: var(--white);
  border: 1.5px solid #cbd5e1;
  color: #1e3a8a;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.15s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-quick-scan:hover {
  background: #f0f7ff;
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.btn-quick-scan.warning {
  border-color: #fca5a5;
  color: #b91c1c;
}

.btn-quick-scan.warning:hover {
  background: #fef2f2;
  border-color: #ef4444;
}

.scanner-placeholder-card {
  background: var(--white);
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 40px 24px;
  text-align: center;
}

/* Destination Result Placard */
.destination-result-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
  border: 2.5px solid #22c55e;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: 0 10px 25px -5px rgba(34, 197, 94, 0.2);
  animation: slide-in-up 0.3s ease;
}

@keyframes slide-in-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.destination-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}

@media (max-width: 768px) {
  .destination-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.destination-bin-box {
  background: linear-gradient(135deg, #15803d 0%, #166534 100%);
  color: #ffffff;
  padding: 20px 32px;
  border-radius: var(--radius-xl);
  text-align: center;
  box-shadow: 0 8px 20px rgba(21, 128, 61, 0.3);
  min-width: 200px;
}

.destination-bin-label {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
  margin-bottom: 2px;
}

.destination-bin-number {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.02em;
}

.destination-bin-sub {
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
  opacity: 0.85;
}

.destination-meta-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  font-size: 0.88rem;
}

.destination-error-card {
  background: linear-gradient(135deg, #ffffff 0%, #fff1f2 100%);
  border: 2.5px solid #ef4444;
  border-radius: var(--radius-xl);
  padding: 24px 28px;
  box-shadow: 0 10px 25px -5px rgba(239, 68, 68, 0.2);
  animation: shake-alert 0.4s ease;
}

@keyframes shake-alert {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

/* Bin Audit Header & Progress */
.bin-audit-header-card {
  background: var(--white);
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-xl);
  padding: 20px 24px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.huge-bin-pill {
  background: #1e3a8a;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 900;
  padding: 8px 18px;
  border-radius: var(--radius-lg);
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 10px rgba(30, 58, 138, 0.25);
}

.audit-progress-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  margin-top: 12px;
}

.audit-progress-track {
  height: 10px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.audit-progress-fill {
  height: 100%;
  background: #16a34a;
  transition: width 0.35s ease, background 0.3s ease;
}

/* 3-Column Audit Breakdown */
.audit-columns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 18px;
}

.audit-col {
  background: var(--white);
  border-radius: var(--radius-xl);
  border: 2px solid;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  box-shadow: var(--shadow-sm);
}

.audit-col.col-verified {
  border-color: #86efac;
}

.audit-col.col-missing {
  border-color: #fde68a;
}

.audit-col.col-extra {
  border-color: #fca5a5;
}

.audit-col-header {
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid;
}

.col-verified .audit-col-header {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.col-missing .audit-col-header {
  background: #fffbeb;
  border-color: #fef3c7;
}

.col-extra .audit-col-header {
  background: #fef2f2;
  border-color: #fecaca;
}

.audit-count-badge {
  font-size: 0.85rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 9999px;
}

.audit-count-badge.badge-green {
  background: #16a34a;
  color: #ffffff;
}

.audit-count-badge.badge-amber {
  background: #d97706;
  color: #ffffff;
}

.audit-count-badge.badge-red {
  background: #dc2626;
  color: #ffffff;
}

.audit-items-list {
  padding: 14px;
  flex: 1;
  overflow-y: auto;
  max-height: 480px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-item-card {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  background: var(--white);
  transition: all 0.15s ease;
}

.audit-item-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

.audit-item-card.verified {
  border-left: 4px solid #16a34a;
  background: #fcfdfc;
}

.audit-item-card.missing {
  border-left: 4px solid #d97706;
  background: #fffdfa;
}

.audit-item-card.wrong-bin {
  border-left: 4px solid #dc2626;
  background: #fff5f5;
  border-color: #fca5a5;
  border-left-width: 5px;
}

.wrong-bin-tag {
  background: #ef4444;
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.upc-code-tag {
  font-family: monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}

.gift-status-pill {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

.gift-status-pill.planned {
  background: #f1f5f9;
  color: #475569;
}

.gift-status-pill.purchased {
  background: #e0f2fe;
  color: #0369a1;
}

.gift-status-pill.checked-in {
  background: #dcfce7;
  color: #15803d;
}

.gift-status-pill.audited {
  background: #f3e8ff;
  color: #7e22ce;
}

