
/* House Hunter Design Tokens (CSS Variables) */
:root {
  --hh-color-base-black: #000000;
  --hh-color-base-cloud: #F5F5F5;
  --hh-color-base-iron: #4A4A4A;
  --hh-color-base-offWhite: #FAFAFA;
  --hh-color-base-stone: #B0B0B0;
  --hh-color-base-white: #FFFFFF;
  --hh-color-borders-default: #E6E6E6;
  --hh-color-borders-strong: #BDBDBD;
  --hh-color-borders-subtle: #F0F0F0;
  --hh-color-brand-primary-300: #F2B8A6;
  --hh-color-brand-primary-600: #C35E46;
  --hh-color-brand-primary: #E07A5F;
  --hh-color-brand-sage-300: #B3CFC0;
  --hh-color-brand-sage-700: #5F8C79;
  --hh-color-brand-sage: #81B29A;
  --hh-color-brand-slate-300: #6C6E85;
  --hh-color-brand-slate-800: #2B2C3F;
  --hh-color-brand-slate: #3D405B;
  --hh-color-status-error: #D95D48;
  --hh-color-status-info: #5A6FA6;
  --hh-color-status-success: #6DAF8F;
  --hh-color-status-warning: #E8B26B;
  --hh-color-text-inverse: #FFFFFF;
  --hh-color-text-primary: #000000;
  --hh-color-text-secondary: #4A4A4A;
  --hh-color-text-tertiary: #B0B0B0;
  --hh-radius-full: 999px;
  --hh-radius-lg: 16px;
  --hh-radius-md: 12px;
  --hh-radius-sm: 8px;
  --hh-radius-xl: 20px;
  --hh-shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --hh-shadow-md: 0 2px 8px rgba(0,0,0,0.08);
  --hh-shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --hh-space-2xl: 32px;
  --hh-space-3xl: 40px;
  --hh-space-lg: 16px;
  --hh-space-md: 12px;
  --hh-space-sm: 8px;
  --hh-space-xl: 24px;
  --hh-space-xs: 4px;
  --hh-type-body-lh: 24px;
  --hh-type-body-size: 16px;
  --hh-type-body-weight: 400;
  --hh-type-h1-lh: 40px;
  --hh-type-h1-size: 32px;
  --hh-type-h1-weight: 700;
  --hh-type-h2-lh: 32px;
  --hh-type-h2-size: 24px;
  --hh-type-h2-weight: 600;
  --hh-type-h3-lh: 28px;
  --hh-type-h3-size: 20px;
  --hh-type-h3-weight: 600;
  --hh-type-h4-lh: 24px;
  --hh-type-h4-size: 18px;
  --hh-type-h4-weight: 500;
  --hh-type-helper-lh: 16px;
  --hh-type-helper-size: 12px;
  --hh-type-helper-weight: 400;
  --hh-type-small-lh: 20px;
  --hh-type-small-size: 14px;
  --hh-type-small-weight: 400;
  --hh-font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --hh-font-feature-settings: 'tnum';
}

/* Helper classes (optional) */
.hh-h1 { font-family: var(--hh-font-family); font-size: var(--hh-type-h1-size); line-height: var(--hh-type-h1-lh); font-weight: var(--hh-type-h1-weight); }
.hh-h2 { font-family: var(--hh-font-family); font-size: var(--hh-type-h2-size); line-height: var(--hh-type-h2-lh); font-weight: var(--hh-type-h2-weight); }
.hh-h3 { font-family: var(--hh-font-family); font-size: var(--hh-type-h3-size); line-height: var(--hh-type-h3-lh); font-weight: var(--hh-type-h3-weight); }
.hh-h4 { font-family: var(--hh-font-family); font-size: var(--hh-type-h4-size); line-height: var(--hh-type-h4-lh); font-weight: var(--hh-type-h4-weight); }
.hh-body { font-family: var(--hh-font-family); font-size: var(--hh-type-body-size); line-height: var(--hh-type-body-lh); font-weight: var(--hh-type-body-weight); }
.hh-small { font-family: var(--hh-font-family); font-size: var(--hh-type-small-size); line-height: var(--hh-type-small-lh); font-weight: var(--hh-type-small-weight); }
.hh-helper { font-family: var(--hh-font-family); font-size: var(--hh-type-helper-size); line-height: var(--hh-type-helper-lh); font-weight: var(--hh-type-helper-weight); color: var(--hh-color-text-tertiary); }

/* House Hunter Icon System */
.hh-icon {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
  transition: all 0.2s ease;
  flex-shrink: 0;
  /* Force size constraints for all icon formats */
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

/* Icon Sizes */
.hh-icon--xs { width: 12px; height: 12px; }
.hh-icon--sm { width: 16px; height: 16px; }
.hh-icon--md { width: 20px; height: 20px; }
.hh-icon--lg { width: 24px; height: 24px; }
.hh-icon--xl { width: 32px; height: 32px; }
.hh-icon--2xl { width: 40px; height: 40px; }

/* Icon Colors - using design tokens */
.hh-icon--primary { fill: var(--hh-color-brand-primary); }
.hh-icon--slate { fill: var(--hh-color-brand-slate); }
.hh-icon--sage { fill: var(--hh-color-brand-sage); }
.hh-icon--success { fill: var(--hh-color-status-success); }
.hh-icon--error { fill: var(--hh-color-status-error); }
.hh-icon--warning { fill: var(--hh-color-status-warning); }
.hh-icon--info { fill: var(--hh-color-status-info); }
.hh-icon--text-primary { fill: var(--hh-color-text-primary); }
.hh-icon--text-secondary { fill: var(--hh-color-text-secondary); }
.hh-icon--text-tertiary { fill: var(--hh-color-text-tertiary); }

/* Icon with text combinations */
.hh-icon-text {
  display: inline-flex;
  align-items: center;
  gap: var(--hh-space-sm);
}

.hh-icon-text--sm { gap: var(--hh-space-xs); }
.hh-icon-text--lg { gap: var(--hh-space-md); }

/* Specific icon component styles */
.hh-property-icon { fill: var(--hh-color-brand-slate); }
.hh-analytics-icon { fill: var(--hh-color-brand-sage); }
.hh-financial-icon { fill: var(--hh-color-brand-primary); }
.hh-bedroom-icon { fill: var(--hh-color-text-secondary); }
.hh-lot-size-icon { fill: var(--hh-color-text-secondary); }

/* Responsive icon behavior */
@media (max-width: 768px) {
  .hh-icon--responsive-sm { width: 16px; height: 16px; }
  .hh-icon--responsive-md { width: 18px; height: 18px; }
  .hh-icon--responsive-lg { width: 20px; height: 20px; }
  
  .hh-icon-text { gap: var(--hh-space-xs); }
}

/* Hover states for interactive icons */
.hh-icon--interactive:hover {
  fill: var(--hh-color-brand-primary);
  transform: scale(1.05);
}
