:root {
  --bs-primary: #e71b1f; /* Chicken Spot Red */
  --bs-secondary: #f89a29; /* Chicken Spot Orange/Yellow */
  --bs-dark: #1f1f1f;
}

body {
  font-family: "Outfit", sans-serif;
  color: #333;
}

.bg-light-custom {
  background-color: #fafafa !important;
}
.text-primary-custom {
  color: var(--bs-primary) !important;
}
.text-secondary-custom {
  color: var(--bs-secondary) !important;
}
.bg-primary-custom {
  background-color: var(--bs-primary) !important;
}
.bg-secondary-custom {
  background-color: var(--bs-secondary) !important;
}

/* Buttons */
.btn-primary {
  background-color: var(--bs-primary) !important;
  border-color: var(--bs-primary) !important;
  color: #fff !important;
  transition: all 0.3s;
  border-radius: 8px;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: #c9171a !important;
  border-color: #c9171a !important;
  box-shadow: 0 5px 15px rgba(231, 27, 31, 0.3);
}
.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  border-radius: 8px;
}
.btn-outline-primary:hover {
  background-color: var(--bs-primary);
  color: #fff;
}
.btn-secondary-custom {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #fff;
  border-radius: 8px;
}
.btn-secondary-custom:hover {
  background-color: #e6881c;
  border-color: #e6881c;
  color: #fff;
}

/* Navbar */
.navbar {
  transition: all 0.3s;
}
.navbar-nav .nav-link {
  color: #555;
  transition: color 0.2s ease;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--bs-primary);
}

/* Product Cards (Food Style) */
.product-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.3s;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}
.product-img-wrapper {
  position: relative;
  overflow: hidden;
}
.product-card .card-img-top {
  height: 240px;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.product-card:hover .card-img-top {
  transform: scale(1.05); /* Zoom effect appetizing */
}
.product-card .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-card .card-body a {
  color: inherit;
  text-decoration: none;
}
.product-card .card-body a:hover {
  color: var(--bs-primary);
}
.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.5em 1em;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}
.price {
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--bs-primary);
  margin-bottom: 0;
}
.old-price {
  font-size: 0.95rem;
  text-decoration: line-through;
  color: #999;
  margin-left: 8px;
  font-weight: 600;
}
.card-title {
  color: #111;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}
.card-text {
  font-size: 0.95rem;
  color: #666;
  font-weight: 400;
}

/* Product Detail */
.product-main-img {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.product-main-img img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}
.thumbnail-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
  border: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.thumbnail-img.active {
  border-color: var(--bs-secondary);
}
.thumbnail-img:hover {
  border-color: var(--bs-secondary);
  opacity: 0.9;
}

/* Addons (Food Extras) */
.addon-checkbox {
  display: none;
}
.addon-label {
  border: 2px solid #eee;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  padding: 1rem 1.25rem;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
  background: #fff;
}
.addon-checkbox:checked + .addon-label {
  border-color: var(--bs-primary);
  background-color: rgba(231, 27, 31, 0.05);
  box-shadow: 0 4px 10px rgba(231, 27, 31, 0.1);
}
.addon-title {
  font-weight: 700;
  color: #333;
  margin-bottom: 0;
  font-size: 1rem;
}
.addon-desc {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 0;
  font-weight: 400;
}
.addon-price {
  font-weight: 800;
  color: var(--bs-primary);
}

/* Add to Cart Qty */
.qty-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #f0f0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-weight: bold;
  color: #333;
  transition: background 0.2s;
}
.qty-btn:hover {
  background: #e0e0e0;
}
.qty-input {
  width: 50px;
  text-align: center;
  border: none;
  background: transparent;
  height: 38px;
  font-weight: 700;
  font-size: 1.1rem;
}

/* Cart items */
.cart-card {
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.cart-item {
  border-bottom: 1px solid #f0f0f0;
  padding: 1.5rem 0;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Checkout */
.checkout-card {
  border-radius: 16px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.form-control:focus,
.form-select:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(231, 27, 31, 0.2);
}
.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #444;
}

/* Footer Links */
.footer {
  background-color: #111;
  color: #fff;
}
.footer h5,
.footer h6 {
  color: #fff !important;
}
.footer-link,
.footer-social {
  color: #aaa !important;
  transition: color 0.2s ease;
}
.footer-link:hover,
.footer-social:hover {
  color: var(--bs-secondary) !important;
}

/* Hero */
.hero-section {
  background-color: var(--bs-primary);
  background-image: linear-gradient(135deg, var(--bs-primary) 0%, #a20f12 100%);
  position: relative;
  overflow: hidden;
}
.hero-title {
  font-weight: 900;
  color: #fff;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Categories */
.category-card {
  transition: all 0.3s;
  border-radius: 16px;
  border: none;
  background: #fff;
  text-align: center;
  padding: 1.5rem;
  text-decoration: none;
  display: block;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(248, 154, 41, 0.2);
  border-color: var(--bs-secondary);
}
.category-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.category-title {
  color: #222;
  font-weight: 800;
  margin-bottom: 0;
  font-size: 1.1rem;
}

/* Checkboxes */
.form-check-input:checked {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
}

.hover-menu:hover {
  background-color: #f8f9fa !important;
  border-left-color: var(--bs-primary) !important;
  color: var(--bs-primary) !important;
}
.hover-menu:hover i {
  color: var(--bs-primary) !important;
}
.border-transparent {
  border-color: transparent !important;
}

/* UI Utility Classes */
.fw-black { font-weight: 800; }
.transition-all { transition: all 0.3s ease; }
.hover-lift { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.hover-lift:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important; }
.hover-shadow-lg:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important; }
.hover-border-primary:hover { border-color: var(--bs-primary) !important; }

.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-none { box-shadow: none !important; }

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

.animate-slide-up {
  animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.btn-white {
  background-color: #fff;
  color: var(--bs-primary);
  border: none;
}
.btn-white:hover {
  background-color: #f8f9fa;
  color: var(--bs-primary);
}

.bg-primary-custom-gradient {
  background: linear-gradient(135deg, #E71B1F 0%, #a20f12 100%) !important;
}

/* Dashboard Specifics */
.badge-soft-success { background-color: rgba(25, 135, 84, 0.1); color: #198754; }
.badge-soft-warning { background-color: rgba(255, 193, 7, 0.1); color: #ffc107; }
.badge-soft-danger { background-color: rgba(220, 53, 69, 0.1); color: #dc3545; }
