.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.2rem;
    overflow: hidden;
}

.review-avatar img.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% !important;
}

.review-avatar.admin-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid;
    box-shadow: 0 0 6px rgba(255, 76, 76, 0.6);
    flex-shrink: 0;
}
.review-avatar.admin-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-user-info .username {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
}

.admin-badge {
    background-color: #ff0000;
    color: white;               
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: bold;
    margin-left: 8px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 8px rgba(255, 76, 76, 0.7);
}

.admin-badge i {
    margin-right: 5px;
    color: white;
}
.notice {
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
  background: linear-gradient(-45deg, #ff6600, #ff9900, #ff8533, #ff6600);
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  user-select: none;
  box-sizing: border-box;
}
@media (max-width: 1024px) {
  .notice {
    display: none;
  }
}

.scrolling-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon {
  font-size: 16px;
  color: #fff;
  flex-shrink: 0;
}

.label {
  flex-shrink: 0;
  white-space: nowrap;
}

.scrolling-text-wrapper {
  height: 40px;
  line-height: 40px;
  overflow: hidden;
  flex-grow: 1;
  position: relative;
}

.scrolling-text {
  position: absolute;
  top: 0;
  white-space: nowrap;
  line-height: 40px;
  will-change: transform;
  animation: scroll-left 15s linear infinite;
  color: #fff;
}

@keyframes scroll-left {
  0% {
    transform: translateX(370%);
  }
  100% {
    transform: translateX(-100%);
  }
}
.carousel-inner {
    height: 400px; 
}

.carousel-item img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

@media (max-width: 1024px) {
    .carousel-inner {
        height: 300px;
    }
}

@media (max-width: 1024px) {
    .carousel-inner {
        height: 115px;
    }
}
 .product-item {
  flex-shrink: 0;
  width: 160px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  box-shadow: 0 2px 5px rgb(0 0 0 / 0.1);
}

.product-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgb(0 0 0 / 0.15);
  z-index: 5;
}

.product-item img {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  height: 140px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-item:hover img {
  transform: scale(1.05);
}

.product-item .card-body {
  padding: 0.5rem 0.75rem;
}

.product-item .card-title {
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-item .card-text {
  font-size: 0.85rem;
  color: #6c757d; /* Bootstrap muted color */
}

.product-item .btn {
  font-size: 0.85rem;
  padding: 0.25rem 0;
  border-radius: 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.product-item .btn:hover {
  background-color: #0d6efd; /* Bootstrap primary */
  color: #fff;
}
.scrolling-products {
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrolling-products::-webkit-scrollbar {
  display: none;
}

   .popular-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #ff9a00, #ffc107);
  color: #212529;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 10;
}

.popular-badge i {
  font-size: 0.75rem;
  color: #212529;
}
.stock-icon {
  font-size: 14px;
  margin-left: 6px; 
}

.stock-available {
  color: #28a745; 
}

.stock-unavailable {
  color: #dc3545; 
}

 @media (max-width: 1024px) {
  .product-item {
    width: 130px !important;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  }

  .product-item img {
    height: auto !important;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
  }

  .product-item .card-body {
    padding: 0.3rem 0.4rem;
  }

  .product-item .card-title {
    font-size: 0.75rem;
  }

  .product-item .card-text {
    font-size: 0.68rem;
  }

  .product-item .btn {
    font-size: 0.68rem;
    padding: 0.15rem 0.3rem;
  }

  .popular-badge {
    font-size: 0.5rem;
    padding: 1px 5px;
    top: 5px;
    left: 5px;
  }

  .popular-badge i {
    font-size: 0.6rem;
  }

  .stock-icon {
    font-size: 11px;
    margin-left: 3px;
  }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #ff6600;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 10;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

.carousel-arrow:hover {
  background: #e65800;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(0.95);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.left-arrow {
  left: 12px;
}

.right-arrow {
  right: 12px;
}

.carousel-arrow i {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.carousel-arrow:hover i {
  transform: scale(1.15);
}

@media (max-width: 576px) {
  .carousel-arrow {
    width: 32px;
    height: 32px;
  }

  .carousel-arrow i {
    font-size: 16px;
  }

  .left-arrow {
    left: 8px;
  }

  .right-arrow {
    right: 8px;
  }
}