.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(90deg, #005eff, #008cfa, #00bfff);
  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: auto !important;
  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; 
}

.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;
  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: #009cfd;
  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: #007acc;
  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;
  }
}

  .ultra-product-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.glow-overlay {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}
.ultra-product-card:hover .glow-overlay {
  opacity: 1;
}
  .ultra-product-card {
    margin-top: 6px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 14px;
    box-shadow: inset 2px 2px 6px #e2e2e2, inset -2px -2px 6px #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
  }

  .ultra-product-card:active {
    box-shadow: inset 4px 4px 8px #d0d0d0, inset -4px -4px 8px #fff;
    transform: scale(0.98);
  }

  .ultra-product-card h6 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 500;
    color: #333;
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .ultra-product-card p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
  }

  .ultra-product-card i {
    font-size: 0.75rem;
    color: #999;
}

.custom-review-wrapper {
    background: #f9f9fb;
    padding: 20px 15px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
}

.custom-review-title {
    max-width: 600px;
    margin: 40px auto 60px;
    padding: 0 20px;
}

.title-icon {
    background-color: #e6f0ff;
    border: 1px solid #99caff;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #009cfd;
    font-size: 26px;
    box-shadow: 0 2px 6px rgba(0, 156, 253, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.title-icon:hover {
    background-color: #009cfd;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(0, 156, 253, 0.35);
    transform: translateY(-3px);
}

.title-icon:hover i {
    transform: rotate(8deg);
    transition: transform 0.3s ease;
}

.title-text .subtitle {
    font-weight: 400;
    font-size: 1rem;
    color: #444f6f;
    margin: 0;
    font-style: normal;
    user-select: none;
}

.custom-review-list {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 2rem;
    padding-bottom: 10px;
    scroll-snap-type: x mandatory;
    justify-content: start;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.custom-review-card {
    display: flex;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    flex-shrink: 0;
    min-width: 250px;
    scroll-snap-align: start;
}

.custom-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.review-left {
    margin-right: 1rem;
    text-align: center;
    min-width: 60px;
}

.avatar-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e0e0e0;
}

.review-body {
    flex: 1;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-header strong {
    font-size: 1rem;
    color: #222;
}

.review-header small {
    font-size: 0.85rem;
    color: #999;
}

.review-rating i {
    color: #ffb700;
    margin-right: 2px;
}

.review-text {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
}
.custom-review-card {
    flex-shrink: 0; 
    min-width: 300px; 
    scroll-snap-align: start; 
}
