@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --brand-red: #BC2B23;
  --brand-red-dark: #971C16;
  --brand-red-light: #FFF1F0;
  --brand-gold: #E5A00D;
  --brand-gold-light: #FFFBEB;
  --brand-green: #1E5E3A;
  --brand-green-light: #F0FDF4;
  --bg-main: #FAFAF9;
  --card-bg: #FFFFFF;
  --text-primary: #1C1917;
  --text-secondary: #78716C;
  --border-light: #F0EFEA;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.font-bebas {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
}

/* Hide scrollbar for category list and banners */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Active Category Pill Animation */
.category-pill {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-pill.active {
  background-color: var(--brand-red);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(188, 43, 35, 0.3);
  transform: translateY(-1px);
}

/* Bottom Nav bar styling */
.bottom-nav {
  box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.08);
  border-top-left-radius: 1.75rem;
  border-top-right-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-bottom: max(env(safe-area-inset-bottom), 12px);
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  width: 64px;
}

.nav-icon-container {
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  color: #78716C;
}

/* Active Nav Item - circle of brand color */
.nav-item.active .nav-icon-container {
  background-color: var(--brand-red);
  color: #FFFFFF;
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 6px 18px rgba(188, 43, 35, 0.4);
}

.nav-item .nav-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: #78716C;
  transition: color 0.2s ease;
  margin-top: 2px;
}

.nav-item.active .nav-label {
  color: var(--brand-red);
  font-weight: 700;
}

/* Product Card Styling */
.product-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card:active {
  transform: scale(0.985);
}

/* Favorite Heart Animation */
.fav-btn {
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.fav-btn:active {
  transform: scale(1.25);
}

/* Smooth carousel transitions */
.carousel-track {
  display: flex;
  transition: transform 0.4s ease-out;
}

/* Bottom Sheet / Drawer Modal */
.drawer-backdrop {
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.3s ease;
}

.drawer-panel {
  border-top-left-radius: 2rem;
  border-top-right-radius: 2rem;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

/* Desktop restriction enforcement */
@media (min-width: 768px) {
  #mobile-app {
    display: none !important;
  }
  #desktop-screen {
    display: flex !important;
  }
}

@media (max-width: 767px) {
  #desktop-screen {
    display: none !important;
  }
  #mobile-app {
    display: block !important;
  }
}
