/* ==========================================================================
   TANDOORI STOP — KFC-Style Commercial QSR Theme
   85% White/Ivory Surface + Tandoori Crimson + Smoky Charcoal + Saffron Gold
   ZERO Orange (#EA580C) | Pure Inter + Barlow Condensed Typography
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,700;0,800;1,700;1,800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Locked Commercial QSR Color System */
  --bg-canvas: #FAF8F5;           /* Warm Ivory-White page body background */
  --bg-surface: #FFFFFF;          /* Pure Crisp White for Header, Category Bar, Product Cards, Modals, Cart Drawer */
  --bg-subtle: #F3F2EE;           /* Search bar & inactive segmented controls */
  --ts-crimson: #C81E1E;          /* Tandoori Stop Logo Crimson Red — Primary CTA Buttons, Active Category Underline/Tab, Active Mode Toggle */
  --ts-crimson-hover: #991B1B;    /* Deep Crimson hover state */
  --ts-charcoal: #1C1917;         /* Smoky Koyla Charcoal — Top utility bar, Header Cart Bucket, Price Badges, Active Stepper */
  --ts-charcoal-hover: #000000;   /* Charcoal hover state */
  --ts-gold: #F59E0B;             /* Live Tandoor Saffron Gold — Badges, icons, and accent highlights on Charcoal */
  --ts-gold-soft: #FEF3C7;        /* Soft Saffron badge fill */
  --text-primary: #111827;        /* Pitch Charcoal Black for Headings, Titles */
  --text-secondary: #4B5563;      /* Slate Grey for Descriptions */
  --text-muted: #6B7280;          /* Secondary meta text */
  --border-color: #E5E7EB;        /* Clean structural card and section dividers */

  /* Typography */
  --font-heading: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography utilities */
.font-heading {
  font-family: var(--font-heading);
}

.font-body {
  font-family: var(--font-body);
}

/* Product Card Styling */
.product-card {
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 1rem;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  border-color: #CBD5E1;
}

/* Category Pills */
.category-pill {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all 0.15s ease;
}

.category-pill.active {
  background-color: var(--ts-crimson);
  color: #FFFFFF;
  border-color: var(--ts-crimson);
  box-shadow: 0 2px 8px rgba(200, 30, 30, 0.25);
}

/* Inline Quantity Steppers */
.inline-qty-stepper {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: #1C1917;
  color: #FFFFFF;
  border-radius: 0.75rem;
  padding: 4px 8px;
  gap: 8px;
  width: 100%;
  box-shadow: 0 2px 8px rgba(28, 25, 23, 0.25);
}

.inline-qty-stepper button {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}

.inline-qty-stepper button:hover {
  background: var(--ts-crimson);
}

/* Custom Scrollbar for horizontal ribbons */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Commercial Underline Category Tabs */
.category-tab {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.875rem 0.75rem;
  border-bottom: 4px solid transparent;
  color: #4B5563;
  background: transparent;
  border-radius: 0;
  transition: all 0.15s ease;
  white-space: nowrap;
  cursor: pointer;
}

.category-tab:hover {
  color: var(--ts-crimson);
}

.category-tab.active {
  border-bottom: 4px solid var(--ts-crimson) !important;
  color: var(--ts-crimson) !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
