  .cookie-banner {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 2147483646;
    background: #ffffff;
    color: #333333;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12), 0 4px 10px rgba(0,0,0,0.05);
    padding: 1.25rem 1.5rem; /* Slightly tighter padding */
    display: flex;
    flex-direction: row; /* Horizontal layout by default */
    align-items: center; /* Vertically center */
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 650px; /* Much wider to allow single/two row layout */
    width: calc(100% - 3rem);
    font-family: inherit;
    animation: slideUpFade 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .cookie-banner p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: #4b5563;
    flex: 1; /* Take up available space */
  }

  .cookie-banner a,
  .cookie-banner .link-btn {
    color: var(--brand-primary, #0056b3);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-size: inherit;
  }
  .cookie-banner .link-btn:hover {
      color: var(--brand-dark, #003d80);
  }

  .cookie-actions {
    display: flex; /* Flex row for buttons */
    gap: 0.75rem;
    flex-shrink: 0; /* Prevent buttons from shrinking */
  }

  .cookie-actions .cookie-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: 8px; /* Matches card radius better than pill */
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.2;
    text-decoration: none;
    border: 1px solid transparent;
  }

  /* Custom "Accept" - Uses Dark Ink (Utility feel) instead of Brand Orange */
  .cookie-btn--accept {
      background: var(--ink); /* #1e293b usually */
      color: white;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  }
  .cookie-btn--accept:hover {
      background: #0f172a; /* Darker ink */
      transform: translateY(-1px);
      box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }

  /* Custom "Decline" - Visible Border (Secondary Utility) */
  .cookie-actions .cookie-btn--decline {
      background: white;
      color: var(--muted);
      border: 1px solid #e2e8f0; /* Visible border by default */
  }
  .cookie-actions .cookie-btn--decline:hover {
      color: var(--ink);
      background: #f8fafc;
      transform: translateY(-1px);
  }

  /* Animation */
  @keyframes slideUpFade {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
  }

  /* Hide + fade */
  .cookie-banner[hidden] { display: none !important; }
  
  /* Tablet/Mobile Breakpoint: Stack content if too narrow */
  @media (max-width: 768px) {
    .cookie-banner {
      flex-direction: column;
      align-items: flex-start;
      gap: 1rem;
      max-width: 480px; /* Slightly tighter on tablet */
    }
    .cookie-actions {
      width: 100%;
      justify-content: flex-end;
    }
  }

  /* Mobile: Full width bottom sheet */
  @media (max-width: 480px) {
    .cookie-banner {
      left: 0; 
      bottom: 0;
      width: 100%;
      max-width: 100%;
      border-radius: 16px 16px 0 0;
      padding: 1rem;
      border-left: 0;
      border-right: 0;
      box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
      flex-direction: column;
      gap: 0.75rem;
    }
    .cookie-actions {
       width: 100%;
       display: grid;
       grid-template-columns: 1fr 1fr;
    }
  }
