:root {
  --primary-color: #e52d27;
  --secondary-color: #b31217;
  --accent-color: #ffb800;
  --text-dark: #1a1a1a;
  --text-light: #f8f9fa;
  --glass-bg: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(255, 255, 255, 0.2);
}

body {
  font-family: 'Outfit', sans-serif;
  background-color: #fafafa;
  color: var(--text-dark);
  padding-top: 76px; /* Space for fixed navbar */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Glassmorphism Navbar */
.glass-nav {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

.text-gradient {
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.5rem;
}

.nav-link {
  color: var(--text-dark) !important;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
}

.btn-cart i {
  color: var(--text-dark);
  transition: color 0.3s;
}

.btn-cart:hover i {
  color: var(--primary-color);
}

.main-content {
  flex-shrink: 0;
}

/* Sticky Categories */
.sticky-categories {
  position: sticky;
  top: 76px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  z-index: 999;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  overflow-x: auto;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.sticky-categories::-webkit-scrollbar {
  height: 4px;
}

.sticky-categories::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

.cat-pill {
  display: inline-block;
  margin-right: 12px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 30px;
  background: #fff;
  border: 1px solid #eee;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cat-pill:hover, .cat-pill.active {
  background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(229, 45, 39, 0.3);
}

/* Product Cards */
.product-card {
  background: #fff;
  border: none;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.product-image-container {
  overflow: hidden;
  position: relative;
}

.product-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.08);
}

.product-price {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.btn-add-to-cart {
  background: var(--text-dark);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-add-to-cart:hover {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.05);
}

/* Banner/Hero */
.hero-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: white;
  padding: 60px 0;
  margin-bottom: 40px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(229,45,39,0.2) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
}

.category-section {
  padding-top: 100px; 
  margin-top: -80px; 
}

.category-title {
  font-weight: 700;
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--primary-color);
  border-radius: 2px;
}

#map { 
  border-radius: 12px;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.1);
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}