::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: #1063c1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #2a7ad3;
}
.popular-products-section {
  max-width: 96%;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

.popular-products-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto 2.25rem;
}

.popular-products-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.85rem;
  margin-bottom: 0.9rem;
  border: 1px solid rgba(16, 99, 193, 0.38);
  border-radius: 999px;
  background: rgba(16, 99, 193, 0.12);
  color: #1063c1;
  box-shadow: 0 0 28px rgba(16, 99, 193, 0.16);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.popular-products-badge svg {
  width: 1rem;
  height: 1rem;
}

.popular-products-header h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.popular-products-header h2 span {
  color: #1063c1;
  text-shadow: 0 0 34px rgba(16, 99, 193, 0.38);
}

.popular-products-header p {
  max-width: 640px;
  margin: 0.9rem auto 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1rem;
  line-height: 1.65;
}

.popular-products-grid {
  --bs-gutter-x: 1.15rem;
  --bs-gutter-y: 1.15rem;
}

.popular-products-col {
  margin-bottom: 0;
}

.popular-product-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.075);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.popular-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 99, 193, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46), 0 0 42px rgba(16, 99, 193, 0.16);
}

.popular-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 99, 193, 0.09), rgba(0, 0, 0, 0.18));
}

.popular-product-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(16, 99, 193, 0.16) 100%);
}

.popular-product-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.popular-product-card:hover .popular-product-image img {
  transform: scale(1.035);
  filter: brightness(1.08);
}

.popular-product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.035);
}

.popular-product-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.75;
}

.popular-products-action {
  display: flex;
  justify-content: center;
  margin-top: 2.2rem;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff !important;
  background: rgba(16, 99, 193, 0.12);
  border: 1px solid rgba(16, 99, 193, 0.42);
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.25s ease;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgba(16, 99, 193, 0.12);
}

.btn-view-all:hover {
  background: #1063c1;
  border-color: #1063c1;
  color: #fff !important;
  gap: 0.75rem;
}

.btn-view-all svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.btn-view-all:hover svg {
  transform: translateX(3px);
}

@media (max-width: 575.98px) {
  .popular-products-section {
    max-width: 100%;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .popular-products-grid {
    --bs-gutter-x: 0.85rem;
    --bs-gutter-y: 0.85rem;
  }

  .popular-products-header {
    margin-bottom: 1.65rem;
  }

  .popular-products-header p {
    font-size: 0.92rem;
  }
}
.popular-products-grid {
  --bs-gutter-x: 1.15rem;
  --bs-gutter-y: 1.15rem;
}

.popular-products-col {
  display: flex;
}

.popular-product-card {
  width: 100%;
  max-width: 100%;
}

.popular-product-image {
  width: 100%;
  aspect-ratio: 0.72 / 1;
  overflow: hidden;
}

.popular-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1600px) {
  .popular-products-section {
    max-width: 1500px !important;
    margin: 0 auto;
  }
}

@media (min-width: 1900px) {
  .popular-products-section {
    max-width: 1650px !important;
  }
}