/* ----------------- LATEST PRODUCTS (Grid, no carousel) ----------------- */

.bk-latest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

@media (min-width: 640px) {
  .bk-latest-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .bk-latest-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.bk-product-card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.bk-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--barik-300);
}

.bk-product-thumb {
  position: relative;
  aspect-ratio: 4 / 4;
  background: radial-gradient(
    circle at 0 0,
    var(--barik-100) 0%,
    #f9fbff 38%,
    var(--ink-100) 100%
  );
  overflow: hidden;
}

.bk-product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform calc(var(--speed) * 1.2) var(--easing);
}

.bk-product-card:hover .bk-product-thumb img {
  transform: scale(1.04);
}

.bk-badge-new {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--barik-600);
  color: #ffffff;
  z-index: 9;
}

.bk-product-body {
  padding: 12px 12px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.bk-product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin: 0;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.bk-product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
}

.bk-price-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bk-price-current {
  font-size: 14px;
  font-weight: 650;
  color: var(--barik-600);
}

.bk-price-old {
  font-size: 11px;
  color: var(--muted);
  text-decoration: line-through;
}

.bk-stock-label {
  font-size: 11px;
  color: var(--muted);
}

.bk-product-footer {
  padding: 0 12px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.bk-add-btn {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  color: #ffffff;
  background: var(--barik-600);
  box-shadow: 0 8px 18px rgba(22, 69, 131, 0.35);
  transition: var(--transition);
}

.bk-add-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(22, 69, 131, 0.5);
  background: var(--barik-700);
}

.bk-add-btn-icon {
  font-size: 13px;
}

.bk-quick-link {
  font-size: 12px;
  font-weight: 500;
  color: var(--barik-600);
  text-decoration: none;
  white-space: nowrap;
}

.bk-quick-link:hover {
  text-decoration: underline;
}
