/* ----------------- POPULAR PRODUCTS (Horizontal slider) ----------------- */

.bk-popular-shell {
  background: linear-gradient(
    135deg,
    rgba(22, 69, 131, 0.02),
    rgba(22, 69, 131, 0.06)
  );
  border-radius: var(--radius-lg);
  padding: 18px 16px 20px;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

@media (min-width: 900px) {
  .bk-popular-shell {
    padding: 22px 20px 24px;
  }
}

.bk-popular-wrapper {
  position: relative;
}

.bk-popular-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 8px;
  scrollbar-width: thin;
  scrollbar-color: rgba(15, 23, 42, 0.3) rgba(148, 163, 184, 0.2);
}

.bk-popular-list::-webkit-scrollbar {
  height: 6px;
}

.bk-popular-list::-webkit-scrollbar-track {
  background: rgba(148, 163, 184, 0.16);
  border-radius: 999px;
}

.bk-popular-list::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.42);
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;
}

.bk-popular-card {
  scroll-snap-align: start;
  min-width: 240px;
  max-width: 270px;
  background: var(--card);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 10px 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
  transition: var(--transition);
}

@media (min-width: 720px) {
  .bk-popular-card {
    min-width: 270px;
  }
}

.bk-popular-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

.bk-popular-top {
  display: flex;
  gap: 10px;
}

.bk-popular-thumb {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: radial-gradient(circle at 0 0, var(--barik-100) 0%, var(--ink-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.bk-popular-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bk-popular-main {
  flex: 1;
}

.bk-popular-name {
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 4px;
  color: var(--barik-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bk-popular-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}

.bk-badge-hot {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(248, 113, 113, 0.12);
  color: var(--danger);
}

.bk-popular-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
}

.bk-popular-rating-stars {
  color: #facc15;
  font-size: 12px;
}

.bk-popular-stats {
  font-size: 11px;
  color: var(--muted);
}

.bk-popular-price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.bk-popular-price {
  font-size: 14px;
  font-weight: 700;
  color: var(--barik-900);
}

.bk-popular-old {
  font-size: 11px;
  text-decoration: line-through;
  color: var(--muted);
}

.bk-popular-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.bk-ghost-small {
  font-size: 12px;
  font-weight: 500;
  color: var(--barik-600);
  background: transparent;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 6px 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: var(--transition);
}

.bk-ghost-small:hover {
  background: var(--barik-900);
  color: #ffffff;
  border-color: var(--barik-900);
  transform: translateY(-1px);
}

.bk-popular-add {
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: var(--barik-600);
  color: #ffffff;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.45);
  transition: var(--transition);
}

.bk-popular-add:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.6);
}

.bk-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.75);
  z-index: 2;
  transition: var(--transition);
  opacity: 0;
}

.bk-popular-wrapper:hover .bk-slider-btn {
  opacity: 1;
}

.bk-slider-btn:active {
  transform: translateY(-50%) scale(0.94);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.72);
}

.bk-slider-btn-prev {
  left: -4px;
}

.bk-slider-btn-next {
  right: -4px;
}

@media (max-width: 720px) {
  .bk-slider-btn {
    display: none;
  }
}
.owl-theme .owl-dots .owl-dot.active span {
  width: 18px;
  border-radius: 999px;
  background: var(--barik-600);
}

.owl-theme .owl-dots .owl-dot span {
  width: 7px;
  height: 7px;
  margin: 4px 4px;
  background: #e5e7eb;
  transition: all 0.18s ease;
}


