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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #b12ad3;
}
.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(202, 3, 252, 0.38);
  border-radius: 999px;
  background: rgba(202, 3, 252, 0.12);
  color: #ca03fc;
  box-shadow: 0 0 28px rgba(202, 3, 252, 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: #ca03fc;
  text-shadow: 0 0 34px rgba(202, 3, 252, 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(202, 3, 252, 0.38);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.46), 0 0 42px rgba(202, 3, 252, 0.16);
}

.popular-product-image {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(202, 3, 252, 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(202, 3, 252, 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(202, 3, 252, 0.12);
  border: 1px solid rgba(202, 3, 252, 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(202, 3, 252, 0.12);
}

.btn-view-all:hover {
  background: #ca03fc;
  border-color: #ca03fc;
  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;
  }
}
/* Eclipse: keep framework and third-party interactive states in the same palette. */
:root,
[data-bs-theme="dark"] {
  --bs-link-color: var(--cl-accent);
  --bs-link-color-rgb: var(--cl-accent-rgb);
  --bs-link-hover-color: #e77bff;
  --bs-link-hover-color-rgb: 231, 123, 255;
  --bs-primary-text-emphasis: #efb3ff;
  --bs-primary-bg-subtle: #240b2e;
  --bs-primary-border-subtle: #66147d;
  --bs-info: var(--cl-accent);
  --bs-info-rgb: var(--cl-accent-rgb);
  --bs-info-text-emphasis: #efb3ff;
  --bs-info-bg-subtle: #240b2e;
  --bs-info-border-subtle: #66147d;
  --bs-focus-ring-color: rgba(var(--cl-accent-rgb), .25);
}

::selection {
  color: #fff;
  background: rgba(202, 3, 252, .38);
}

input,
select,
textarea {
  accent-color: #ca03fc;
}

.btn-info,
.btn-outline-info {
  --bs-btn-color: #fff;
  --bs-btn-border-color: #ca03fc;
  --bs-btn-hover-bg: #ad02d8;
  --bs-btn-hover-border-color: #ad02d8;
  --bs-btn-active-bg: #9402ba;
  --bs-btn-active-border-color: #9402ba;
  --bs-btn-disabled-bg: #ca03fc;
  --bs-btn-disabled-border-color: #ca03fc;
  --bs-btn-focus-shadow-rgb: 202, 3, 252;
}

.btn-info {
  --bs-btn-bg: #ca03fc;
}

.btn-outline-info {
  --bs-btn-color: #e77bff;
}

.accordion {
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ca03fc'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.form-switch .form-check-input:focus {
  --bs-form-switch-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23e77bff'/%3e%3c/svg%3e");
}

.form-range:focus::-webkit-slider-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 .25rem rgba(202, 3, 252, .25);
}

.form-range:focus::-moz-range-thumb {
  box-shadow: 0 0 0 1px #fff, 0 0 0 .25rem rgba(202, 3, 252, .25);
}

.choices__list--multiple .choices__item,
.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background-color: rgba(202, 3, 252, .16);
  border-color: rgba(202, 3, 252, .35);
  color: #efb3ff;
}
