/* Ruiru Mabati — Clean White & Crimson Red Theme */
:root {
  --brand-red: #C8102E;
  --brand-red-dark: #9B0B22;
  --brand-red-light: #FFF1F2;
  --brand-red-border: #FECDD3;
  --text-dark: #111827;
  --text-muted: #4B5563;
  --bg-white: #FFFFFF;
  --bg-soft: #F9FAFB;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
}

body {
  margin: 0;
  background-color: var(--bg-white);
  color: var(--text-dark);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #dc2626;
  border-radius: 4px;
}

/* Homepage Product Carousel */
.slider-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  padding-bottom: 0.75rem;
}
.slider-track::-webkit-scrollbar {
  display: none;
}
.slider-card {
  flex: 0 0 250px;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .slider-card {
    flex: 0 0 275px;
  }
}

/* Call to Order Modal Animation */
@keyframes modalPop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.animate-modal-pop {
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Red accent underline */
.red-underline {
  position: relative;
  display: inline-block;
}
.red-underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 56px;
  height: 4px;
  background: #C8102E;
  border-radius: 999px;
}
