.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%);
  }
}

.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 4px 8px rgba(0, 0, 0, 0.1);
}

.product-item img {
  transition: transform 0.3s ease;
 width: 100%; 
 height: 150px;
}

.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;
}
 @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: 1024px) {
  .carousel-arrow {
    display: none;
  }

  .carousel-arrow i {
    display: none;
  }
}

.streamer-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.streamer-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.streamer-img {
  transition: transform 0.3s ease;
}

.streamer-card:hover .streamer-img {
  transform: scale(1.05);
}
.status-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  background-color: gray;
}

.status-badge.online {
  background-color: #28a745; 
}

.status-badge.offline {
  background-color: #dc3545;
}
.custom-review-wrapper {
    background: #ffffff;
    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: #fff3ea;
  border: 1px solid #ffe0cc; 
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ff6600; 
  font-size: 26px;
  box-shadow: 0 2px 6px rgba(255, 102, 0, 0.1); 
  transition: all 0.3s ease;
  cursor: pointer;
}

.title-icon:hover {
  background-color: #ff6600;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(255, 102, 0, 0.25); 
  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: #666;
  margin: 0;
  font-style: normal;
  user-select: none;
}

@media (max-width: 480px) {
  .custom-review-title {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .title-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
  }
  .title-text h2 {
    font-size: 1.8rem;
  }
  .title-text .subtitle {
    font-size: 0.9rem;
  }
}
  
.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: #f5f5f5;
    border-radius: 12px;
    padding: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    flex-shrink: 0;
    min-width: 250px;
    scroll-snap-align: start;
}

  .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;
  }

  .admin-label {
    font-size: 0.7rem;
    background: #ffd700;
    color: #000;
    padding: 2px 6px;
    border-radius: 10px;
    margin-top: 6px;
    display: inline-block;
  }

  .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;
  }
  
  
  .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;
}
@media (max-width: 1024px) {
  .custom-review-list {
    gap: 24px;
    padding: 0 8px;
  }

  .custom-review-card {
    border-radius: 18px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: box-shadow 0.3s ease;
  }

  .review-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #eee;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    object-fit: cover;
  }

  .review-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .review-header strong {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
  }

  .review-header small {
    font-size: 0.75rem;
    color: #aaa;
  }

  .review-rating {
    margin-top: 4px;
  }

  .review-rating i {
    font-size: 0.85rem;
    color: #ffc107;
    margin-right: 2px;
  }

  .review-text {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.6;
    padding-left: 2px;
  }

  .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;
    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;
  }
}
