html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
}

.navbar {
  font-size: 0.95rem;
  font-weight: 500;
  background-color: white;
  letter-spacing: 0.03em;
}

.navbar-nav .nav-link {
  padding: 0.75rem 1rem;
  color: #222;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #0d9488; /* teal accent */
}

.mega-menu {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 2rem;
  margin-top: 0.5rem;
  max-height: 80vh;
  overflow-y: auto;
}

.mega-menu h6 {
  font-size: 0.875rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: #555;
}

.mega-menu ul {
  padding-left: 0;
  list-style: none;
}

.mega-menu ul li a {
  display: block;
  padding: 0.25rem 0;
  color: #333;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mega-menu ul li a:hover {
  color: #0d9488;
}

.mega-menu img {
  width: 100%;
  border-radius: 12px;
  margin-top: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

/* test */
.category-block {
  min-height: 220px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.category-block:hover {
  transform: scale(1.02);
}

.category-block .overlay {
  border-radius: inherit;
    transition: opacity 0.3s ease;
  /* opacity: 0.5; */
}
.category-block:hover .overlay {
  opacity: 0.25; /* less dark = brighter image on hover */
}
.category-block h6 {
  color: #fff;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.category-block ul li a {
  font-weight: 500;
  font-size: 0.9rem;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.category-block ul li a:hover {
  text-decoration: underline;
}
@media (max-width: 576px) {
  .category-block {
    max-width: 90%;
    margin: auto;
  }
}
.category-block ul li a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

/* end test */
.item-name{
border-radius: 5px;
  padding: 5px;
}
.item-name:hover{
cursor: pointer;
background: #eee;
}
.hover-link:hover {
  font-size:16px;
  text-decoration: none;
  color: #ffc107 !important;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 2px 6px;
  border-radius: 4px;
}
.sticky-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  transition: transform 0.3s ease;
}

.sticky-footer.hidden {
  transform: translateY(100%);
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}
.img-float:hover {
  transform: translateY(-4px);
  transition: transform 0.3s ease;
}
.add-custom-item {
  background-color: #f8f9fa; /* Soft gray like Bootstrap cards */
  padding: 1rem;
  border: 1px dashed #ced4da; /* Subtle border to suggest editable/addable */
  border-radius: 0.5rem;
  transition: background-color 0.3s ease;
}

.add-custom-item:hover {
  background-color: #eef1f3; /* Slightly darker on hover */
}

.add-custom-item input.custom-item-input {
  flex: 1;
  min-width: 0;
}

.add-custom-item .add-custom-btn {
  white-space: nowrap;
  min-width: 100px;
  border-radius: 50px;
}
.preview-icon {
  cursor: pointer;
  font-size: 1rem;
  opacity: 0.7;
}
.preview-icon:hover {
  opacity: 1;
}

