/**
 * EMSS – Global UX: spacing, typography, status badges, CTAs
 * Include after main.css for consistent world-class UI.
 */

:root {
  --emss-space-xs: 0.25rem;
  --emss-space-sm: 0.5rem;
  --emss-space-md: 1rem;
  --emss-space-lg: 1.5rem;
  --emss-space-xl: 2rem;
  --emss-space-2xl: 3rem;
  --emss-space-3xl: 4rem;
  --emss-font-size-xs: 0.75rem;
  --emss-font-size-sm: 0.875rem;
  --emss-font-size-base: 1rem;
  --emss-font-size-lg: 1.125rem;
  --emss-font-size-xl: 1.25rem;
  --emss-font-size-2xl: 1.5rem;
  --emss-line-height-tight: 1.25;
  --emss-line-height-normal: 1.5;
  --emss-line-height-relaxed: 1.625;
  --emss-status-success: #198754;
  --emss-status-warning: #f59e0b;
  --emss-status-danger: #dc3545;
  --emss-status-neutral: #6b7280;
}

/* Consistent section spacing */
.tv-section-title-box { margin-bottom: var(--emss-space-2xl); }
.tv-section-title { line-height: var(--emss-line-height-tight); }
.tv-slider-text p,
.tv-about-right p,
.tv-about-middle p,
.single-service-item p { line-height: var(--emss-line-height-relaxed); max-width: 52ch; }

/* Status badges – Green / Yellow / Red everywhere */
.emss-badge,
.badge.emss-status-success { background-color: var(--emss-status-success) !important; color: #fff !important; }
.emss-badge,
.badge.emss-status-warning { background-color: var(--emss-status-warning) !important; color: #fff !important; }
.emss-badge,
.badge.emss-status-danger { background-color: var(--emss-status-danger) !important; color: #fff !important; }
.badge.emss-status-neutral { background-color: var(--emss-status-neutral) !important; color: #fff !important; }
.badge.emss-status-dot { display: inline-flex; align-items: center; gap: 0.35rem; }
.badge.emss-status-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: 0.9; }
.badge.emss-status-success.emss-status-dot::before { background: #fff; }
.badge.emss-status-warning.emss-status-dot::before { background: #fff; }
.badge.emss-status-danger.emss-status-dot::before { background: #fff; }

/* CTA button group spacing */
.tv-slider-btn .tv-btn-primary,
.tv-slider-btn .tv-btn-secondary { margin-right: var(--emss-space-md); }
.tv-slider-btn .tv-btn-secondary:last-child { margin-right: 0; }
@media (max-width: 576px) {
  .tv-slider-btn .tv-btn-primary { margin-right: 0; margin-bottom: var(--emss-space-sm); }
}

/* Service icon container - Font Awesome (56x56 container, 40px icon) */
.single-service-item span.service-icon {
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  color: #0F313A;
}
.single-service-item span.service-icon i {
  font-size: 40px;
}

/* Product card price clarity */
.emss-product-price { font-size: 1.25rem; font-weight: 700; color: #0F313A; }
.emss-product-price-old { font-size: 0.875rem; color: #6b7280; text-decoration: line-through; margin-left: 0.5rem; }
.emss-badge-sale { background: #dc3545; color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.5rem; border-radius: 4px; }
.emss-badge-new { background: #198754; color: #fff; font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.5rem; border-radius: 4px; }
